Table 221 Gen. Jnl. Allocation

Base Application, Microsoft.Finance.GeneralLedger.Journal

Source AL, 1,027 lines

src/Layers/W1/BaseApp/Finance/GeneralLedger/Journal/GenJnlAllocation.Table.allines 27 to 42 of 1,027, Copyright (c) Microsoft Corporation. MIT

table 221 "Gen. Jnl. Allocation"{    Caption = 'Gen. Jnl. Allocation';    Permissions = tabledata "Gen. Jnl. Allocation" = R;    DataClassification = CustomerContent;    fields    {        /// <summary>        /// Journal template name that defines the type and behavior of the journal containing this allocation line.        /// </summary>        field(1; "Journal Template Name"; Code[10])        {            Caption = 'Journal Template Name';            TableRelation = "Gen. Journal Template";        }

All 1,027 lines

Fields 25 in 29

1Journal Template NameCode[10]17-29
2Journal Batch NameCode[10]17-29
3Journal Line No.Integer17-29
4Line No.Integer17-29
5Account No.Code[20]17-29
6Shortcut Dimension 1 CodeCode[20]17-29
7Shortcut Dimension 2 CodeCode[20]17-29
8Allocation QuantityDecimal17-29
9Allocation %Decimal17-29

All 25 fields

Events 14 in 29

[IntegrationEvent] OnAfterValidateShortcutDimCode(var GenJnlAllocation: Record "Gen. Jnl. Allocation"; var xGenJnlAllocation: Record "Gen. Jnl. Allocation"; FieldNumber: Integer; var ShortcutDimCode: Code[20])17-29
[IntegrationEvent] OnBeforeValidateShortcutDimCode(var GenJnlAllocation: Record "Gen. Jnl. Allocation"; var xGenJnlAllocation: Record "Gen. Jnl. Allocation"; FieldNumber: Integer; var ShortcutDimCode: Code[20])17-29
[IntegrationEvent] OnUpdateAllocationsOnAfterGenJnlAllocModify(var GenJnlAlloc: Record "Gen. Jnl. Allocation")new in 18
[IntegrationEvent] OnUpdateAllocationsAddCurrOnAfterGenJnlAllocModify(var GenJnlAlloc: Record "Gen. Jnl. Allocation")new in 18
[IntegrationEvent] OnUpdateAllocationsOnBeforeGenJnlAllocModify(GenJournalLine: Record "Gen. Journal Line"; var GenJnlAlloc: Record "Gen. Jnl. Allocation")new in 19
[IntegrationEvent] OnAfterInitDefaultDimensionSources(var GenJnlAllocation: Record "Gen. Jnl. Allocation"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])new in 20
[IntegrationEvent] OnBeforeCreateDim(var GenJnlAllocation: Record "Gen. Jnl. Allocation"; var IsHandled: Boolean)new in 20

All 19 events in 17-29

Public procedures 11 in 29

UpdateAllocations(var GenJnlLine: Record "Gen. Journal Line")17-29
UpdateAllocationsAddCurr(var GenJnlLine: Record "Gen. Journal Line"; AddCurrAmount: Decimal)17-29
CheckVAT(var GenJnlLine: Record "Gen. Journal Line")17-29
UpdateVAT(var GenJnlLine: Record "Gen. Journal Line")17-29
GetCurrencyCode(): Code[10]17-29
ValidateShortcutDimCode(FieldNumber: Integer; var ShortcutDimCode: Code[20])17-29

All 14 procedures in 17-29

Trigger events 10

OnBeforeInsertEvent(var Rec: Record "Gen. Jnl. Allocation"; RunTrigger: Boolean)
OnAfterInsertEvent(var Rec: Record "Gen. Jnl. Allocation"; RunTrigger: Boolean)
OnBeforeModifyEvent(var Rec: Record "Gen. Jnl. Allocation"; var xRec: Record "Gen. Jnl. Allocation"; RunTrigger: Boolean)
OnAfterModifyEvent(var Rec: Record "Gen. Jnl. Allocation"; var xRec: Record "Gen. Jnl. Allocation"; RunTrigger: Boolean)
OnBeforeDeleteEvent(var Rec: Record "Gen. Jnl. Allocation"; RunTrigger: Boolean)
OnAfterDeleteEvent(var Rec: Record "Gen. Jnl. Allocation"; RunTrigger: Boolean)
OnBeforeRenameEvent(var Rec: Record "Gen. Jnl. Allocation"; var xRec: Record "Gen. Jnl. Allocation"; RunTrigger: Boolean)
OnAfterRenameEvent(var Rec: Record "Gen. Jnl. Allocation"; var xRec: Record "Gen. Jnl. Allocation"; RunTrigger: Boolean)
OnBeforeValidateEvent(var Rec: Record "Gen. Jnl. Allocation"; var xRec: Record "Gen. Jnl. Allocation"; CurrFieldNo: Integer)
per field, ElementName: field name
OnAfterValidateEvent(var Rec: Record "Gen. Jnl. Allocation"; var xRec: Record "Gen. Jnl. Allocation"; CurrFieldNo: Integer)
per field, ElementName: field name

Changes 1 in 25

List17181920212223242526272829
Procedures3111
Events6152261
internal ChooseAndImportFromAllocationAccount()new in 25
added

All 29 changes in 17-29