---
title: "Codeunit 2677 Gen. Journal Alloc. Acc. Mgt."
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/2677-gen-journal-alloc-acc-mgt/
type: codeunit
id: 2677
name: "Gen. Journal Alloc. Acc. Mgt."
app: "Base Application"
namespace: Microsoft.Finance.AllocationAccount
versions: "23-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/2677-gen-journal-alloc-acc-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 2677 Gen. Journal Alloc. Acc. Mgt.

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/2677-gen-journal-alloc-acc-mgt/

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetOrGenerateAllocationLines | (var Record Allocation Line, var Guid) | - | internal | 23-28 | - | - |
| GetOrGenerateAllocationLines | (var Record Allocation Line, var Guid, var Decimal, var Date) | - | internal | 23-28 | - | - |
| LoadManualAllocationLines | (var Record Gen. Journal Line, var Record Allocation Line) | - | internal | 23-28 | - | - |
| VerifyAllGLAccountsUsed | (var Record Gen. Journal Line) | Boolean | internal | 23-28 | - | - |
| PreventAllocationAccountsFromThisPage | (Enum Gen. Journal Account Type) | - | internal | 23-28 | - | - |
| CreateLines | (var Record Gen. Journal Line) | - | public | 23-28 | - | - |
| VerifySelectedAllocationAccountNo | (var Record Gen. Journal Line) | - | public | 23-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeGetGeneralJournalLineType | (var Record Allocation Line, var Enum Gen. Journal Account Type, var Boolean) | 23-28 | - | - |
| Integration event | OnBeforeCreateGeneralJournalLine | (var Record Gen. Journal Line, var Record Allocation Line, var Record Gen. Journal Line) | 23-28 | - | - |
| Integration event | OnBeforeVerifyGeneralJournalLine | (var Record Gen. Journal Line) | 23-28 | - | - |
| Integration event | OnLoadManualAllocationLinesOnBeforeInsertAllocationLine | (var Record Alloc. Acc. Manual Override, var Record Allocation Line) | 27-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.
