codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 2677 "Gen. Journal Alloc. Acc. Mgt."

Base Application · Microsoft.Finance.AllocationAccount

Across versions

  1. BC23present
  2. BC242 procedures added, 1 procedures removed
  3. BC251 procedures changed
  4. BC26unchanged
  5. BC271 events added
  6. BC28-30unchanged

Neighbourhood 4 connected objects and pages

Codeunit 408 "DimensionManagement" (calls, 2 links)DimensionManagementCodeunit 2675 "Allocation Account Mgt." (calls)Allocation Account Mgt.Codeunit 2676 "Alloc. Acc. Telemetry" (calls)Alloc. Acc. TelemetryTable 2672 "Allocation Line" (calls)Allocation Line

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

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.

Called by

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.

Evidence 1 sources