---
title: "Table 221 Gen. Jnl. Allocation, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/points/
object: https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Table 221 Gen. Jnl. Allocation, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/points/

34 procedures and triggers with a step in src/Layers/W1/BaseApp/Finance/GeneralLedger/Journal/GenJnlAllocation.Table.al, in source order, read from the text, not from a run.

## Account No..OnValidate

[Line 76](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L76), trigger.

- [81](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L81) raises `OnBeforeValidateAccountNo`, IsHandled
- [87](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L87) calls `CreateDimFromDefaultDim`
- [90](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L90) calls [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `CheckGLAcc`
- [91](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L91) calls `CheckGLAccount`
- [95](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L95) calls `CopyVATSetupToJnlLines`
- [101](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L101) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `VAT Prod. Posting Group`
- [104](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L104) calls `CreateDimFromDefaultDim`

## Shortcut Dimension 1 Code.OnValidate

[Line 118](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L118), trigger.

- [120](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L120) calls `ValidateShortcutDimCode`
- [121](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L121) writes [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) Modify

## Shortcut Dimension 2 Code.OnValidate

[Line 135](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L135), trigger.

- [137](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L137) calls `ValidateShortcutDimCode`
- [138](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L138) writes [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) Modify

## Allocation Quantity.OnValidate

[Line 152](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L152), trigger.

- [158](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L158) calls `UpdateAllocations`
- [159](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L159) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `UpdateLineBalance`

## Allocation %.OnValidate

[Line 173](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L173), trigger.

- [178](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L178) calls `UpdateAllocations`
- [179](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L179) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `UpdateLineBalance`

## Amount.OnValidate

[Line 193](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L193), trigger.

- [198](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L198) calls `UpdateAllocations`
- [200](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L200) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `VAT Prod. Posting Group`
- [201](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L201) writes [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) Modify
- [202](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L202) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `UpdateLineBalance`
- [203](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L203) calls `UpdateJnlBalance`

## Gen. Posting Type.OnValidate

[Line 216](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L216), trigger.

- [218](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L218) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `VAT Prod. Posting Group`

## Gen. Bus. Posting Group.OnValidate

[Line 231](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L231), trigger.

- [234](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L234) calls [Table 250 Gen. Business Posting Group](https://jonas-paprotka.de/ref/table/250-gen-business-posting-group/) `ValidateVatBusPostingGroup`
- [235](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L235) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `VAT Bus. Posting Group`

## Gen. Prod. Posting Group.OnValidate

[Line 248](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L248), trigger.

- [251](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L251) calls [Table 251 Gen. Product Posting Group](https://jonas-paprotka.de/ref/table/251-gen-product-posting-group/) `ValidateVatProdPostingGroup`
- [252](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L252) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `VAT Prod. Posting Group`

## Tax Area Code.OnValidate

[Line 304](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L304), trigger.

- [306](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L306) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `VAT Prod. Posting Group`

## Tax Liable.OnValidate

[Line 316](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L316), trigger.

- [318](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L318) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `VAT Prod. Posting Group`

## Tax Group Code.OnValidate

[Line 329](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L329), trigger.

- [331](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L331) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `VAT Prod. Posting Group`

## Use Tax.OnValidate

[Line 341](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L341), trigger.

- [343](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L343) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `VAT Prod. Posting Group`

## VAT Bus. Posting Group.OnValidate

[Line 355](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L355), trigger.

- [357](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L357) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `VAT Prod. Posting Group`

## VAT Prod. Posting Group.OnValidate

[Line 369](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L369), trigger.

- [372](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L372) calls `CheckVAT`
- [373](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L373) calls `UpdateVAT`

## Dimension Set ID.OnLookup

[Line 395](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L395), trigger.

- [397](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L397) calls `ShowDimensions`

## Dimension Set ID.OnValidate

[Line 400](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L400), trigger.

- [402](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L402) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `UpdateGlobalDimFromDimSetID`

## OnDelete

[Line 419](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L419), trigger.

- [421](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L421) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `Amount`

## OnInsert

[Line 424](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L424), trigger.

- [429](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L429) calls `ValidateShortcutDimCode`
- [430](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L430) calls `ValidateShortcutDimCode`

## UpdateAllocations

[Line 464](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L464).

- [486](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L486) calls [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `UpdateVAT`
- [487](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L487) writes [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) Modify
- [489](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L489) calls `CheckVAT`
- [507](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L507) calls [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `CheckVAT`
- [528](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L528) calls [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `UpdateVAT`
- [529](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L529) raises `OnUpdateAllocationsOnBeforeGenJnlAllocModify`
- [530](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L530) writes [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) Modify
- [531](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L531) raises `OnUpdateAllocationsOnAfterGenJnlAllocModify`
- [536](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L536) calls `UpdateJnlBalance`

## UpdateAllocationsAddCurr

[Line 548](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L548).

- [610](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L610) writes [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) Modify
- [611](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L611) raises `OnUpdateAllocationsAddCurrOnAfterGenJnlAllocModify`

## UpdateJnlBalance

[Line 617](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L617), local.

- [624](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L624) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Modify

## UpdateVAT

[Line 645](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L645).

- [651](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L651) raises `OnBeforeUpdateVAT`, IsHandled
- [653](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L653) calls [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `CopyFromGenJnlAllocation`
- [655](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L655) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `VAT Prod. Posting Group`
- [661](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L661) raises `OnAfterUpdateVAT`

## CreateDim

[Line 696](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L696).

- [702](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L702) raises `OnBeforeCreateDim`, IsHandled
- [710](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L710) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetRecDefaultDimID`
- [712](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L712) raises `OnAfterCreateDimProcedure`

## ValidateShortcutDimCode

[Line 721](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L721).

- [723](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L723) raises `OnBeforeValidateShortcutDimCode`
- [725](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L725) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `ValidateShortcutDimValues`
- [727](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L727) raises `OnAfterValidateShortcutDimCode`

## LookupShortcutDimCode

[Line 736](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L736).

- [738](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L738) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `LookupDimValueCode`
- [739](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L739) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `ValidateShortcutDimValues`

## ShowShortcutDimCode

[Line 747](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L747).

- [749](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L749) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetShortcutDimensions`

## ShowDimensions

[Line 756](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L756).

- [759](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L759) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `EditDimensionSet`
- [763](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L763) raises `OnAfterShowDimensions`

## CreateDimFromDefaultDim

[Line 770](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L770).

- [774](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L774) calls `InitDefaultDimensionSources`
- [775](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L775) calls `CreateDim`

## InitDefaultDimensionSources

[Line 778](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L778), local.

- [780](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L780) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `AddDimSource`
- [782](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L782) raises `OnAfterInitDefaultDimensionSources`

## ChooseAndImportFromAllocationAccount

[Line 785](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L785), internal.

- [789](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L789) calls `ChooseAllocationAccount`
- [790](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L790) calls `ImportFromAllocationAccount`

## ImportFromAllocationAccount

[Line 806](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L806), local.

- [813](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L813) calls [Codeunit 27 Confirm Management](https://jonas-paprotka.de/ref/codeunit/27-confirm-management/) `GetResponse`
- [816](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L816) writes [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) DeleteAll
- [821](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L821) calls `CheckAccountType`
- [826](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L826) writes [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) Insert
- [828](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L828) calls `CopyFieldsFromAllocationAccountDistribution`

## CopyFieldsFromAllocationAccountDistribution

[Line 840](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L840), local.

- [842](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L842) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `Account No.`
- [843](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L843) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `Allocation %`
- [844](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L844) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `Shortcut Dimension 1 Code`
- [845](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L845) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `Shortcut Dimension 2 Code`
- [846](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L846) validates [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) `Dimension Set ID`
- [847](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L847) writes [Table 221 Gen. Jnl. Allocation](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/) Modify(true)

## CheckGLAccount

[Line 850](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L850), local.

- [855](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L855) raises `OnBeforeCheckGLAccount`, IsHandled
- [861](https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/source/#L861) raises `OnAfterCheckGLAccount`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
