Codeunit 2677 "Gen. Journal Alloc. Acc. Mgt."
Base Application · Microsoft.Finance.AllocationAccount
Across versions
- BC23present
- BC242 procedures added, 1 procedures removed
- BC251 procedures changed
- BC26unchanged
- BC271 events added
- BC28-30unchanged
Neighbourhood 4 connected objects and pages
Base Application · Microsoft.Finance.AllocationAccount · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeGetGeneralJournalLineType(var AllocationLine: Record "Allocation Line"; var GenJournalAccountType: Enum "Gen. Journal Account Type"; var Handled: Boolean)(integration): Integration event raised before determining general journal account type for allocation line processing.OnBeforeCreateGeneralJournalLine(var GenJournalLine: Record "Gen. Journal Line"; var AllocationLine: Record "Allocation Line"; var AllocationAccountGenJournalLine: Record "Gen. Journal Line")(integration): Integration event raised before creating general journal line from allocation line for customization.OnBeforeVerifyGeneralJournalLine(var GenJournalLine: Record "Gen. Journal Line")(integration): Integration event raised before verifying general journal line for custom validation logic.OnLoadManualAllocationLinesOnBeforeInsertAllocationLine(var AllocAccManualOverride: Record "Alloc. Acc. Manual Override"; var AllocationLine: Record "Allocation Line")+ BC27 (integration)
Event subscriptions
- PostAllocationJournalLine subscribes to Codeunit “Gen. Jnl.-Post Line” OnBeforeCode
- HandleBatchPost subscribes to Codeunit “Gen. Jnl.-Post Batch” OnBeforeCode
- HandleBeforeInsertGLEntryBuffer subscribes to Codeunit “Gen. Jnl.-Post Line” OnBeforeInsertGLEntryBuffer
- HandleShowDimensions subscribes to Table “Gen. Journal Line” OnBeforeShowDimensions
- CheckBeforeModifyLine subscribes to Table “Gen. Journal Line” OnBeforeModifyEvent
- VerifyGeneralJournalLineOnAfterModify subscribes to Table “Gen. Journal Line” OnAfterModifyEvent
Procedures
GetOrGenerateAllocationLines(var AllocationLine: Record "Allocation Line"; var ParentSystemId: Guid)(internal)GetOrGenerateAllocationLines(var AllocationLine: Record "Allocation Line"; var ParentSystemId: Guid; var AmountToAllocate: Decimal; var PostingDate: Date)(internal)LoadManualAllocationLines(var GenJournalLine: Record "Gen. Journal Line"; var AllocationLine: Record "Allocation Line")(internal)VerifyAllGLAccountsUsed(var GenJournalLine: Record "Gen. Journal Line"): Boolean(internal)PreventAllocationAccountsFromThisPage(GenJournalAccountType: Enum "Gen. Journal Account Type")(internal)CreateLines(var AllocationAccountGenJournalLine: Record "Gen. Journal Line"): Creates detailed general journal lines from allocation account entries.VerifySelectedAllocationAccountNo(var GenJournalLine: Record "Gen. Journal Line")Δ BC25: Validates that the selected allocation account configuration is compatible with the general journal line setup.
Plus 19 local procedures.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 408 “DimensionManagement” (2 calls:
TransferDimensionSetID → GetCombinedDimensionSetID,TransferDimensionSetID → UpdateGlobalDimFromDimSetID) - Codeunit 2675 “Allocation Account Mgt.” (1 call:
VerifyGeneralJournalLine → VerifyNoInheritFromParentUsed) - Codeunit 2676 “Alloc. Acc. Telemetry” (1 call:
HandleBatchPost → LogGeneralJournalPostingUsage)
Called by
- Table 2672 “Allocation Line” (1 call:
GetOrGenerateAllocationLines → GetOrGenerateAllocationLines)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Gen. Journal Alloc. Acc. Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.