---
title: "Codeunit 2675 Allocation Account Mgt."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/
type: codeunit
id: 2675
name: "Allocation Account Mgt."
app: "Base Application"
namespace: Microsoft.Finance.AllocationAccount
versions: "23-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 2675 Allocation Account Mgt.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/2675-allocation-account-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Finance.AllocationAccount |
| Versions | 23-28 |
| Source file | Finance/AllocationAccount/AllocationAccountMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| UseAllocationAccountNoField | () | Boolean | public | 23-28 | - | - |
| GenerateAllocationLines | (var Record Allocation Account, var Record Allocation Line, Decimal, Date, Integer, Code[10]) | - | public | 23-28 | - | - |
| GenerateVariableAllocationLines | (var Record Allocation Account, var Record Allocation Line, Decimal, Date, Integer, Code[10]) | - | internal | 23-28 | - | - |
| GenerateFixedAllocationLines | (var Record Allocation Account, var Record Allocation Line, Decimal, Integer, Code[10]) | - | internal | 23-28 | - | - |
| VerifyNoInheritFromParentUsed | (Code[20]) | - | public | 23-28 | - | - |
| GetDefaultAmountForPreview | () | Decimal | internal | 23-28 | - | - |
| GetCurrencyRoundingPrecision | (Code[10]) | Decimal | internal | 23-28 | - | - |
| SplitQuantitiesIfNeeded | (Decimal, var Record Allocation Line, var Record Allocation Account) | - | internal | 23-28 | - | - |
| GetCurrencyUnitAmountPrecision | (Code[10]) | Decimal | internal | 27-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnGenerateFixedAllocationLinesOnAfterInsertAllocationLine | (var Record Allocation Line, var Record Alloc. Account Distribution) | 23-28 | - | - |
| Integration event | OnGenerateVariableAllocationLinesOnAfterInsertAllocationLine | (var Record Allocation Line, var Record Alloc. Account Distribution) | 23-28 | - | - |
| Integration event | OnBeforeGenerateVariableAllocationLines | (var Record Allocation Account, var Record Allocation Line, var Integer) | 23-28 | - | - |
| Integration event | OnAfterGenerateVariableAllocationLines | (var Record Allocation Account, var Record Allocation Line, var Integer) | 23-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
