---
title: "Codeunit 2675 Allocation Account Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/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/"
---

# Codeunit 2675 Allocation Account Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/points/

5 procedures and triggers with a step in src/Layers/W1/BaseApp/Finance/AllocationAccount/AllocationAccountMgt.Codeunit.al, in source order, read from the text, not from a run.

## GenerateAllocationLines

[Line 39](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L39).

- [42](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L42) calls `GenerateFixedAllocationLines`
- [44](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L44) calls `GenerateVariableAllocationLines`

## GenerateVariableAllocationLines

[Line 47](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L47), internal.

- [54](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L54) raises `OnBeforeGenerateVariableAllocationLines`
- [56](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L56) calls [Codeunit 2670 Variable Allocation Mgt.](https://jonas-paprotka.de/ref/codeunit/2670-variable-allocation-mgt/) `CalculateAmountDistributions`
- [70](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L70) calls [Table 2671 Alloc. Account Distribution](https://jonas-paprotka.de/ref/table/2671-alloc-account-distribution/) `LookupDistributionAccountName`
- [71](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L71) calls [Table 2671 Alloc. Account Distribution](https://jonas-paprotka.de/ref/table/2671-alloc-account-distribution/) `LookupBreakdownAccountName`
- [77](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L77) calls `CombineDimensionSetIds`
- [79](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L79) writes [Table 2672 Allocation Line](https://jonas-paprotka.de/ref/table/2672-allocation-line/) Insert
- [80](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L80) raises `OnGenerateVariableAllocationLinesOnAfterInsertAllocationLine`
- [83](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L83) raises `OnAfterGenerateVariableAllocationLines`

## GenerateFixedAllocationLines

[Line 86](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L86), internal.

- [97](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L97) calls `GetCurrencyRoundingPrecision`
- [104](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L104) calls [Table 2671 Alloc. Account Distribution](https://jonas-paprotka.de/ref/table/2671-alloc-account-distribution/) `LookupDistributionAccountName`
- [111](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L111) calls `CombineDimensionSetIds`
- [113](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L113) writes [Table 2672 Allocation Line](https://jonas-paprotka.de/ref/table/2672-allocation-line/) Insert
- [114](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L114) raises `OnGenerateFixedAllocationLinesOnAfterInsertAllocationLine`
- [121](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L121) writes [Table 2672 Allocation Line](https://jonas-paprotka.de/ref/table/2672-allocation-line/) Modify

## CombineDimensionSetIds

[Line 145](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L145), local.

- [153](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L153) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `UpdateGlobalDimFromDimSetID`
- [169](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L169) calls [Codeunit 408 DimensionManagement](https://jonas-paprotka.de/ref/codeunit/408-dimensionmanagement/) `GetCombinedDimensionSetID`

## SplitQuantitiesIfNeeded

[Line 201](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L201), internal.

- [213](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L213) calls [Table 2672 Allocation Line](https://jonas-paprotka.de/ref/table/2672-allocation-line/) `GetQuantityPrecision`
- [215](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L215) writes [Table 2672 Allocation Line](https://jonas-paprotka.de/ref/table/2672-allocation-line/) Modify
- [220](https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/#L220) writes [Table 2672 Allocation Line](https://jonas-paprotka.de/ref/table/2672-allocation-line/) Modify

## Source

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

JOP-AL, 2026-11-20.
