{"title":"Table 221 Gen. Jnl. Allocation, events","url":"https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/events/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"table","id":221,"name":"Gen. Jnl. Allocation","app":"Base Application","versions":"17-29","url":"https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation/","json":"https://jonas-paprotka.de/ref/table/221-gen-jnl-allocation.json"},"aspect":"events","total":19,"rows":[{"name":"OnAfterCreateDimTableIDs","sig":"(var Record Gen. Jnl. Allocation, var Integer, var Integer, var Code[20])","named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var FieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17","first":17,"last":17,"obsoleteSince":null,"spans":[{"from":17,"to":17,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var FieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterValidateShortcutDimCode","sig":"(var Record Gen. Jnl. Allocation, var Record Gen. Jnl. Allocation, Integer, var Code[20])","named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var xGenJnlAllocation: Record \"Gen. Jnl. Allocation\"; FieldNumber: Integer; var ShortcutDimCode: Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var xGenJnlAllocation: Record \"Gen. Jnl. Allocation\"; FieldNumber: Integer; var ShortcutDimCode: Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeValidateShortcutDimCode","sig":"(var Record Gen. Jnl. Allocation, var Record Gen. Jnl. Allocation, Integer, var Code[20])","named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var xGenJnlAllocation: Record \"Gen. Jnl. Allocation\"; FieldNumber: Integer; var ShortcutDimCode: Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"17-29","first":17,"last":29,"obsoleteSince":null,"spans":[{"from":17,"to":29,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var xGenJnlAllocation: Record \"Gen. Jnl. Allocation\"; FieldNumber: Integer; var ShortcutDimCode: Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterCreateDimTableIDs","sig":"(var Record Gen. Jnl. Allocation, var Integer, var Integer, var Code[20], var Boolean)","named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var FieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20]; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced by new implementation in codeunit Purch. Post Invoice","tag":"20.0"},"range":"18-22","first":18,"last":22,"obsoleteSince":20,"spans":[{"from":18,"to":19,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var FieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20]; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":20,"to":22,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var FieldNo: Integer; var TableID: array[10] of Integer; var No: array[10] of Code[20]; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced by new implementation in codeunit Purch. Post Invoice","tag":"20.0"}}]},{"name":"OnAfterCreateDim","sig":"(var Record Gen. Jnl. Allocation, Integer, Integer, Code[20])","named":"(var GenJnlAlloc: Record \"Gen. Jnl. Allocation\"; CurrentFieldNo: Integer; TableID: array[10] of Integer; No: array[10] of Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced by new implementation in codeunit Purch. Post Invoice","tag":"20.0"},"range":"18-22","first":18,"last":22,"obsoleteSince":20,"spans":[{"from":18,"to":19,"named":"(var GenJnlAlloc: Record \"Gen. Jnl. Allocation\"; CurrentFieldNo: Integer; TableID: array[10] of Integer; No: array[10] of Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":null},{"from":20,"to":22,"named":"(var GenJnlAlloc: Record \"Gen. Jnl. Allocation\"; CurrentFieldNo: Integer; TableID: array[10] of Integer; No: array[10] of Code[20])","returns":"","kind":"integrationevent","access":"local","obsolete":{"state":"Pending","reason":"Replaced by new implementation in codeunit Purch. Post Invoice","tag":"20.0"}}]},{"name":"OnAfterShowDimensions","sig":"(var Record Gen. Jnl. Allocation)","named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-20","first":18,"last":20,"obsoleteSince":null,"spans":[{"from":18,"to":20,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnUpdateAllocationsOnAfterGenJnlAllocModify","sig":"(var Record Gen. Jnl. Allocation)","named":"(var GenJnlAlloc: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var GenJnlAlloc: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnUpdateAllocationsAddCurrOnAfterGenJnlAllocModify","sig":"(var Record Gen. Jnl. Allocation)","named":"(var GenJnlAlloc: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"18-29","first":18,"last":29,"obsoleteSince":null,"spans":[{"from":18,"to":29,"named":"(var GenJnlAlloc: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnUpdateAllocationsOnBeforeGenJnlAllocModify","sig":"(Record Gen. Journal Line, var Record Gen. Jnl. Allocation)","named":"(GenJournalLine: Record \"Gen. Journal Line\"; var GenJnlAlloc: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"19-29","first":19,"last":29,"obsoleteSince":null,"spans":[{"from":19,"to":29,"named":"(GenJournalLine: Record \"Gen. Journal Line\"; var GenJnlAlloc: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterInitDefaultDimensionSources","sig":"(var Record Gen. Jnl. Allocation, var List)","named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeCreateDim","sig":"(var Record Gen. Jnl. Allocation, var Boolean)","named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-29","first":20,"last":29,"obsoleteSince":null,"spans":[{"from":20,"to":29,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterCreateDimProcedure","sig":"(var Record Gen. Jnl. Allocation, Integer, List)","named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; CurrFieldNo: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"20-22","first":20,"last":22,"obsoleteSince":null,"spans":[{"from":20,"to":22,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; CurrFieldNo: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]])","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterShowDimensions","sig":"(var Record Gen. Jnl. Allocation, Record Gen. Jnl. Allocation)","named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; xGenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"21-29","first":21,"last":29,"obsoleteSince":null,"spans":[{"from":21,"to":29,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; xGenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeCheckGLAccount","sig":"(Record G/L Account, var Boolean, var Record Gen. Jnl. Allocation)","named":"(GLAccount: Record \"G/L Account\"; var IsHandled: Boolean; var GenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"22-29","first":22,"last":29,"obsoleteSince":null,"spans":[{"from":22,"to":29,"named":"(GLAccount: Record \"G/L Account\"; var IsHandled: Boolean; var GenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterCheckGLAccount","sig":"(var Record G/L Account, Record Gen. Jnl. Allocation)","named":"(var GLAccount: Record \"G/L Account\"; GenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"22-29","first":22,"last":29,"obsoleteSince":null,"spans":[{"from":22,"to":29,"named":"(var GLAccount: Record \"G/L Account\"; GenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterCreateDimProcedure","sig":"(var Record Gen. Jnl. Allocation, Integer, List, Record Gen. Jnl. Allocation, Integer)","named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; CurrFieldNo: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; xGenJnlAllocation: Record \"Gen. Jnl. Allocation\"; OldDimSetID: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; CurrFieldNo: Integer; DefaultDimSource: List of [Dictionary of [Integer, Code[20]]]; xGenJnlAllocation: Record \"Gen. Jnl. Allocation\"; OldDimSetID: Integer)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeUpdateVAT","sig":"(var Record Gen. Journal Line, var Boolean, var Record Gen. Jnl. Allocation)","named":"(var GenJournalLine: Record \"Gen. Journal Line\"; var IsHandled: Boolean; var GenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var GenJournalLine: Record \"Gen. Journal Line\"; var IsHandled: Boolean; var GenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnAfterUpdateVAT","sig":"(var Record Gen. Journal Line, Record Gen. Journal Line, var Record Gen. Jnl. Allocation)","named":"(var GenJournalLine: Record \"Gen. Journal Line\"; GenJournalLine2: Record \"Gen. Journal Line\"; var GenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"23-29","first":23,"last":29,"obsoleteSince":null,"spans":[{"from":23,"to":29,"named":"(var GenJournalLine: Record \"Gen. Journal Line\"; GenJournalLine2: Record \"Gen. Journal Line\"; var GenJnlAllocation: Record \"Gen. Jnl. Allocation\")","returns":"","kind":"integrationevent","access":"local","obsolete":null}]},{"name":"OnBeforeValidateAccountNo","sig":"(var Record Gen. Jnl. Allocation, Record Gen. Jnl. Allocation, var Boolean)","named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; xGenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null,"range":"24-29","first":24,"last":29,"obsoleteSince":null,"spans":[{"from":24,"to":29,"named":"(var GenJnlAllocation: Record \"Gen. Jnl. Allocation\"; xGenJnlAllocation: Record \"Gen. Jnl. Allocation\"; var IsHandled: Boolean)","returns":"","kind":"integrationevent","access":"local","obsolete":null}]}]}