Table
LedgerAllocation
Allocation key for ledger posting
Holds allocation rules for ledger posting. Each rule links a from main account and dimensions to a to account and dimensions, with an allocation percentage. It has no key defined in the metadata.
- Table name
LedgerAllocation- Module
General ledger- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasic- Primary index
None- Replacement key
None- Key fields
None- Model
Ledger
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DimensionKeepTransactionLink to the dimension set whose dimensions are kept on the transaction. | Int64DimensionEnumeration | No | DimensionAttributeSet.RecId | LedgerAllocationEntity |
DimensionSelectionCriteriaLink to the dimension set used to select transactions for the rule. | Int64DimensionEnumeration | No | DimensionAttributeSet.RecId | LedgerAllocationEntity |
FromDefaultDimensionLink to the default dimension values of the source side. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | LedgerAllocationEntity |
FromMainAccountLink to the main account that the allocation starts from. | Int64RefRecId | Yes | MainAccount.RecId | LedgerAllocationEntity |
LineNumNumber of the line within the allocation. | RealLineNum | No | LedgerAllocationEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToDefaultDimensionLink to the default dimension values of the target side. | Int64LedgerDimensionValueSet | No | DimensionAttributeValueSet.RecId | LedgerAllocationEntity |
ToLedgerDimensionLink to the account combination that receives the allocation. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | LedgerAllocationEntity |
ValuePercentage of the amount that is allocated. | RealLedgerAllocatePct | No | LedgerAllocationEntity |
Indexes (7)
DimensionSelectionCriteriaNot unique.
FromDefaultDimensionNot unique.
ToDefaultDimensionNot unique.
DimensionKeepTransactionNot unique.
ToLedgerDimensionNot unique.
FromIdxFromMainAccount,FromDefaultDimension,RecIdUnique.
NaturalKeyIdxUnique, alternate key.
Relations (7)
Each relation joins LedgerAllocation to another table on the fields shown.
DimensionKeepTransaction→DimensionAttributeSetJoin on
DimensionKeepTransaction = DimensionAttributeSet.RecIdMany LedgerAllocation records → zero or one DimensionAttributeSet record
DimensionSelectionCriteria→DimensionAttributeSetJoin on
DimensionSelectionCriteria = DimensionAttributeSet.RecIdMany LedgerAllocation records → zero or one DimensionAttributeSet record
FromDefaultDimension→DimensionAttributeValueSetJoin on
FromDefaultDimension = DimensionAttributeValueSet.RecIdMany LedgerAllocation records → zero or one DimensionAttributeValueSet record
FromMainAccount→MainAccountJoin on
FromMainAccount = MainAccount.RecIdMany LedgerAllocation records → exactly one MainAccount record
FromMainAccountLegalEntity→MainAccountLegalEntityJoin on
FromMainAccount = MainAccountLegalEntity.MainAccountMany LedgerAllocation records → zero or one MainAccountLegalEntity record
ToDefaultDimension→DimensionAttributeValueSetJoin on
ToDefaultDimension = DimensionAttributeValueSet.RecIdMany LedgerAllocation records → zero or one DimensionAttributeValueSet record
ToLedgerDimension→DimensionAttributeValueCombinationJoin on
ToLedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerAllocation records → zero or one DimensionAttributeValueCombination record
Get this data out
Tables are not exposed directly. These public entities read from LedgerAllocation; use one of them in Power BI, Power Platform or a data management project.
LedgerAllocationEntity· 8 fields from this table
Need help with LedgerAllocation in a report, an integration or a migration? Talk to Dr Dynamics.