codeunitFinanceofficial - Microsoftderived - from the source, no model text

Codeunit 2675 "Allocation Account Mgt."

Base Application · Microsoft.Finance.AllocationAccount

Across versions

  1. BC23present
  2. BC241 procedures changed
  3. BC251 procedures changed
  4. BC26unchanged
  5. BC271 procedures added
  6. BC28-30unchanged

Neighbourhood 22 connected objects and pages

Codeunit 2679 "Purchase Alloc. Acc. Mgt." (calls, 4 links)Purchase Alloc. Acc. Mgt.Codeunit 2678 "Sales Alloc. Acc. Mgt." (calls, 3 links)Sales Alloc. Acc. Mgt.Page 2674 "Allocation Account Preview" (calls, 3 links)Allocation Account PreviewCodeunit 2670 "Variable Allocation Mgt." (calls, 2 links)Variable Allocation Mgt.Codeunit 408 "DimensionManagement" (calls, 2 links)DimensionManagementCodeunit 1620 "PEPPOL Validation" (calls)PEPPOL ValidationCodeunit 2677 "Gen. Journal Alloc. Acc. Mgt." (calls)Gen. Journal Alloc. Acc. Mgt.Page 253 "Sales Journal" (calls)Sales JournalPage 254 "Purchase Journal" (calls)Purchase JournalPage 255 "Cash Receipt Journal" (calls)Cash Receipt JournalPage 256 "Payment Journal" (calls)Payment JournalPage 39 "General Journal" (calls)General JournalPage 46 "Sales Order Subform" (calls)Sales Order SubformPage 47 "Sales Invoice Subform" (calls)Sales Invoice SubformPage 516 "Sales Lines" (calls)Page 518 "Purchase Lines" (calls)Page 54 "Purchase Order Subform" (calls)Page 55 "Purch. Invoice Subform" (calls)Page 95 "Sales Quote Subform" (calls)Page 96 "Sales Cr. Memo Subform" (calls)Page 97 "Purchase Quote Subform" (calls)Page 98 "Purch. Cr. Memo Subform" (calls)

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

  • OnGenerateFixedAllocationLinesOnAfterInsertAllocationLine(var AllocationLine: Record "Allocation Line"; var AllocAccountDistibution: Record "Alloc. Account Distribution") (integration): Integration event raised after inserting allocation line for fixed allocation methods.
  • OnGenerateVariableAllocationLinesOnAfterInsertAllocationLine(var AllocationLine: Record "Allocation Line"; var AllocAccountDistibution: Record "Alloc. Account Distribution") (integration): Integration event raised after inserting allocation line for variable allocation methods.
  • OnBeforeGenerateVariableAllocationLines(var AllocationAccount: Record "Allocation Account"; var AllocationLine: Record "Allocation Line"; var ExistingDimensionSetId: Integer) (integration): Integration event raised before generating variable allocation lines for preprocessing.
  • OnAfterGenerateVariableAllocationLines(var AllocationAccount: Record "Allocation Account"; var AllocationLine: Record "Allocation Line"; var ExistingDimensionSetId: Integer) (integration): Integration event raised after generating variable allocation lines for postprocessing.

Procedures

  • UseAllocationAccountNoField(): Boolean
  • GenerateAllocationLines(var AllocationAccount: Record "Allocation Account"; var AllocationLine: Record "Allocation Line"; AmountToDistribute: Decimal; PostingDate: Date; ExistingDimensionSetId: Integer; CurrencyCode: Code[10]) Δ BC24: Generates allocation lines based on the allocation account configuration and distribution rules.
  • GenerateVariableAllocationLines(var AllocationAccount: Record "Allocation Account"; var AllocationLine: Record "Allocation Line"; AmountToDistribute: Decimal; PostingDate: Date; ExistingDimensionSetId: Integer; CurrencyCode: Code[10]) (internal)
  • GenerateFixedAllocationLines(var AllocationAccount: Record "Allocation Account"; var AllocationLine: Record "Allocation Line"; AmountToDistribute: Decimal; ExistingDimensionSetId: Integer; CurrencyCode: Code[10]) (internal)
  • VerifyNoInheritFromParentUsed(AccountNo: Code[20]) Δ BC25: Validates that allocation account does not use parent inheritance for standalone usage scenarios.
  • GetDefaultAmountForPreview(): Decimal (internal)
  • GetCurrencyRoundingPrecision(CurrencyCode: Code[10]): Decimal (internal)
  • GetCurrencyUnitAmountPrecision(CurrencyCode: Code[10]): Decimal + BC27 (internal)
  • SplitQuantitiesIfNeeded(OriginalQuantity: Decimal; var AllocationLine: Record "Allocation Line"; var AllocationAccount: Record "Allocation Account") (internal)

Plus 1 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: "Allocation Account Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources