{"title":"Codeunit 2675 Allocation Account Mgt., extension points 29","url":"https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/points/","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":"codeunit","id":2675,"name":"Allocation Account Mgt.","app":"Base Application","url":"https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/","path":"src/Layers/W1/BaseApp/Finance/AllocationAccount/AllocationAccountMgt.Codeunit.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"codeunit:2670":{"name":"Variable Allocation Mgt.","url":"https://jonas-paprotka.de/ref/codeunit/2670-variable-allocation-mgt/"},"table:2671":{"name":"Alloc. Account Distribution","url":"https://jonas-paprotka.de/ref/table/2671-alloc-account-distribution/"},"table:2672":{"name":"Allocation Line","url":"https://jonas-paprotka.de/ref/table/2672-allocation-line/"},"codeunit:408":{"name":"DimensionManagement","url":"https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/"}},"procs":[{"name":"GenerateAllocationLines","line":39,"kind":"procedure","params":6,"steps":[[42,"call","GenerateFixedAllocationLines",5],[44,"call","GenerateVariableAllocationLines",6]]},{"name":"GenerateVariableAllocationLines","line":47,"kind":"procedure","access":"internal","params":6,"steps":[[54,"event","OnBeforeGenerateVariableAllocationLines",0],[56,"ext","codeunit",2670,"CalculateAmountDistributions",6],[70,"ext","table",2671,"LookupDistributionAccountName",0],[71,"ext","table",2671,"LookupBreakdownAccountName",0],[77,"call","CombineDimensionSetIds",2],[79,"write",2672,"Insert"],[80,"event","OnGenerateVariableAllocationLinesOnAfterInsertAllocationLine",0],[83,"event","OnAfterGenerateVariableAllocationLines",0]]},{"name":"GenerateFixedAllocationLines","line":86,"kind":"procedure","access":"internal","params":5,"steps":[[97,"call","GetCurrencyRoundingPrecision",1],[104,"ext","table",2671,"LookupDistributionAccountName",0],[111,"call","CombineDimensionSetIds",2],[113,"write",2672,"Insert"],[114,"event","OnGenerateFixedAllocationLinesOnAfterInsertAllocationLine",0],[121,"write",2672,"Modify"]]},{"name":"CombineDimensionSetIds","line":145,"kind":"procedure","access":"local","params":2,"steps":[[153,"ext","codeunit",408,"UpdateGlobalDimFromDimSetID",3],[169,"ext","codeunit",408,"GetCombinedDimensionSetID",3]]},{"name":"SplitQuantitiesIfNeeded","line":201,"kind":"procedure","access":"internal","params":3,"steps":[[213,"ext","table",2672,"GetQuantityPrecision",0],[215,"write",2672,"Modify"],[220,"write",2672,"Modify"]]}]}