Table 221 Gen. Jnl. Allocation in 20
- App
- Base Application
Fields, 25Keys, 1Procedures, 12Events, 11
Versions171819202122232425262728latest
Source29
Fields, 25
| Id | Name | Type | Obsolete |
|---|---|---|---|
| 1 | Journal Template Name | Code[10] | - |
| 2 | Journal Batch Name | Code[10] | - |
| 3 | Journal Line No. | Integer | - |
| 4 | Line No. | Integer | - |
| 5 | Account No. | Code[20] | - |
| 6 | Shortcut Dimension 1 Code | Code[20] | - |
| 7 | Shortcut Dimension 2 Code | Code[20] | - |
| 8 | Allocation Quantity | Decimal | - |
| 9 | Allocation % | Decimal | - |
| 10 | Amount | Decimal | - |
| 11 | Gen. Posting Type | Enum General Posting Type | - |
| 12 | Gen. Bus. Posting Group | Code[20] | - |
| 13 | Gen. Prod. Posting Group | Code[20] | - |
| 14 | VAT Calculation Type | Enum Tax Calculation Type | - |
| 15 | VAT Amount | Decimal | - |
| 16 | VAT % | Decimal | - |
| 17 | Account Name | Text[100] | - |
| 18 | Tax Area Code | Code[20] | - |
| 19 | Tax Liable | Boolean | - |
| 20 | Tax Group Code | Code[20] | - |
| 21 | Use Tax | Boolean | - |
| 22 | VAT Bus. Posting Group | Code[20] | - |
| 23 | VAT Prod. Posting Group | Code[20] | - |
| 24 | Additional-Currency Amount | Decimal | - |
| 480 | Dimension Set ID | Integer | - |
Keys, 1
| Name | Fields | Obsolete |
|---|---|---|
| Key1, clustered | Journal Template Name, Journal Batch Name, Journal Line No., Line No. | - |
Procedures, 12
| Name | Parameters | Returns | Access | Obsolete | |||
|---|---|---|---|---|---|---|---|
| UpdateAllocations | (var Record Gen. Journal Line) | public | - | ||||
| UpdateAllocationsAddCurr | (var Record Gen. Journal Line, Decimal) | public | - | ||||
| CheckVAT | (var Record Gen. Journal Line) | public | - | ||||
| UpdateVAT | (var Record Gen. Journal Line) | public | - | ||||
| GetCurrencyCode | () | Code[10] | public | - | |||
| CreateDim | (Integer, Code[20]) | public | Pending 20.0 | ||||
| Replaced by CreateDim(DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]) | |||||||
| ValidateShortcutDimCode | (Integer, var Code[20]) | public | - | ||||
| LookupShortcutDimCode | (Integer, var Code[20]) | public | - | ||||
| ShowShortcutDimCode | (var Code[20]) | public | - | ||||
| ShowDimensions | () | public | - | ||||
| CreateDim | (List) | public | - | ||||
| CreateDimFromDefaultDim | () | public | - | ||||
Events, 11
| Kind | Name | Parameters | Obsolete | ||||
|---|---|---|---|---|---|---|---|
| Integration event | OnAfterValidateShortcutDimCode | (var Record Gen. Jnl. Allocation, var Record Gen. Jnl. Allocation, Integer, var Code[20]) | - | ||||
| Integration event | OnBeforeValidateShortcutDimCode | (var Record Gen. Jnl. Allocation, var Record Gen. Jnl. Allocation, Integer, var Code[20]) | - | ||||
| Integration event | OnAfterCreateDimTableIDs | (var Record Gen. Jnl. Allocation, var Integer, var Integer, var Code[20], var Boolean) | Pending 20.0 | ||||
| Replaced by new implementation in codeunit Purch. Post Invoice | |||||||
| Integration event | OnAfterCreateDim | (var Record Gen. Jnl. Allocation, Integer, Integer, Code[20]) | Pending 20.0 | ||||
| Replaced by new implementation in codeunit Purch. Post Invoice | |||||||
| Integration event | OnAfterShowDimensions | (var Record Gen. Jnl. Allocation) | - | ||||
| Integration event | OnUpdateAllocationsOnAfterGenJnlAllocModify | (var Record Gen. Jnl. Allocation) | - | ||||
| Integration event | OnUpdateAllocationsAddCurrOnAfterGenJnlAllocModify | (var Record Gen. Jnl. Allocation) | - | ||||
| Integration event | OnUpdateAllocationsOnBeforeGenJnlAllocModify | (Record Gen. Journal Line, var Record Gen. Jnl. Allocation) | - | ||||
| Integration event | OnAfterInitDefaultDimensionSources | (var Record Gen. Jnl. Allocation, var List) | - | ||||
| Integration event | OnBeforeCreateDim | (var Record Gen. Jnl. Allocation, var Boolean) | - | ||||
| Integration event | OnAfterCreateDimProcedure | (var Record Gen. Jnl. Allocation, Integer, List) | - | ||||