Table 2672 "Allocation Line"
Base Application · Microsoft.Finance.AllocationAccount
Across versions
- BC23present
- BC241 fields changed, 1 procedures added
- BC251 events added
- BC26unchanged
- BC271 events added
- BC284 fields changed
- BC299 fields changed
- BC30unchanged
Neighbourhood 13 connected objects and pages
Base Application · Microsoft.Finance.AllocationAccount · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 2674 “Allocation Account Preview” (1 Learn page).
Properties
| Property | Value |
|---|---|
| Caption | Allocation Line |
| TableType | Temporary |
| DataClassification | SystemMetadata |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Allocation Account No. | Code[20] | — | TableRelation Table 2670 “Allocation Account” (“Allocation Account”.“No.”) |
| 2 | Line No. | Integer | Primary Key caption | |
| 3 | Destination Account Type Δ BC29 | Enum “Destination Account Type” | Specifies the type of the Destination Account. | enum Enum 2670 “Destination Account Type” |
| 4 | Destination Account Number Δ BC24 Δ BC29 | Code[20] | Specifies the number of the Destination Account. | TableRelation Table 15 “G/L Account”, Table 270 “Bank Account” (if (“Destination Account Type” = const(“G/L Account”)) “G/L Account” where(“Account Type” = const(Posting), “Direct Posting” = const(true)) else if (“Destination Account Type” = const(“Bank Account”)) “Bank Account”) |
| 5 | Destination Account Name Δ BC29 | Text[2048] | Specifies the name of the Destination Account. | |
| 6 | Amount Δ BC28 Δ BC29 | Decimal | Specifies the amount to be allocated to the Destination Account. | |
| 10 | Breakdown Account Number Δ BC29 | Code[20] | Specifies the number of the Breakdown Account that is used to calculate the amount to be distributed to the destination account. | |
| 11 | Breakdown Account Balance Δ BC28 Δ BC29 | Decimal | Specifies the balance of the Breakdown Account that is used to calculate the amount to be distributed to the destination account. | |
| 12 | Breakdown Account Name Δ BC29 | Text[2048] | Specifies the name of the Breakdown Account that is used to calculate the amount to be distributed to the destination account. | |
| 13 | Percentage Δ BC28 Δ BC29 | Decimal | Specifies the percentage that is used to calculate the amount to be assinged to the destination account. | |
| 20 | Quantity Δ BC28 Δ BC29 | Decimal | Specifies the quantity to be allocated to the Destination Account. | |
| 37 | Global Dimension 1 Code | Code[20] | — | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1), Blocked = const(false))) |
| 38 | Global Dimension 2 Code | Code[20] | — | TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2), Blocked = const(false))) |
| 480 | Dimension Set ID | Integer | — | TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable |
Keys
- Key1: Allocation Account No., Line No. (clustered)
Events published
OnGetOrGenerateAllocationLines(ParentTableId: Integer; ParentSystemId: Guid; var AllocationLine: Record "Allocation Line"; var AmountToAllocate: Decimal; var PostingDate: Date)+ BC25 (integration): Integration event raised to retrieve or generate allocation lines for processing.OnSaveChangesToAllocationLinesOnBeforeAllocAccManualOverrideInsert(var AllocAccManualOverride: Record "Alloc. Acc. Manual Override"; var AllocationLine: Record "Allocation Line")+ BC27 (integration)
Procedures
GetQuantityVisible(var AllocationLine: Record "Allocation Line"): Boolean(internal)GetQuantityDataForRedistributePage(var AllocationLine: Record "Allocation Line"; ParentSystemId: Guid; ParentTableId: Integer; var AmountPerQuantity: Decimal; var QuantityToDistribute: Decimal)(internal)GetOrGenerateAllocationLines(var AllocationLine: Record "Allocation Line"; ParentSystemId: Guid; ParentTableId: Integer; var AmountToAllocate: Decimal; var PostingDate: Date)(internal)SaveChangesToAllocationLines(var AllocationLine: Record "Allocation Line"; ParentSystemId: Guid; ParentTableId: Integer; AmountToAllocate: Decimal)(internal)ResetToDefault(var AllocationLine: Record "Allocation Line"; ParentSystemId: Guid; ParentTableId: Integer)(internal)ShowDimensions()(internal)GetQuantityPrecision(): Decimal+ BC24 (internal)
Plus 1 local procedures.
Relations
- Destination Account Number: TableRelation Table 15 “G/L Account” (conditional)
- Allocation Account No.: TableRelation Table 2670 “Allocation Account”
- Destination Account Number: TableRelation Table 270 “Bank Account” (conditional)
- Global Dimension 1 Code: TableRelation Table 349 “Dimension Value”
- Global Dimension 2 Code: TableRelation Table 349 “Dimension Value”
- Dimension Set ID: TableRelation Table 480 “Dimension Set Entry”
Pages and codeunits on this table
- Page 2674 “Allocation Account Preview” (source table)
- Page 2678 “Redistribute Acc. Allocations” (source table)
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:
ShowDimensions → EditDimensionSet,ShowDimensions → UpdateGlobalDimFromDimSetID) - Codeunit 2676 “Alloc. Acc. Telemetry” (1 call:
SaveChangesToAllocationLines → LogDefinedOverride) - Codeunit 2677 “Gen. Journal Alloc. Acc. Mgt.” (1 call:
GetOrGenerateAllocationLines → GetOrGenerateAllocationLines) - Codeunit 2678 “Sales Alloc. Acc. Mgt.” (1 call:
GetOrGenerateAllocationLines → GetOrGenerateAllocationLines) - Codeunit 2679 “Purchase Alloc. Acc. Mgt.” (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: "table", object_name: "Allocation Line"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.