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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DimensionKeepTransactionLink to the dimension set whose dimensions are kept on the transaction.Int64
DimensionEnumeration
NoDimensionAttributeSet.RecIdLedgerAllocationEntity
DimensionSelectionCriteriaLink to the dimension set used to select transactions for the rule.Int64
DimensionEnumeration
NoDimensionAttributeSet.RecIdLedgerAllocationEntity
FromDefaultDimensionLink to the default dimension values of the source side.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdLedgerAllocationEntity
FromMainAccountLink to the main account that the allocation starts from.Int64
RefRecId
YesMainAccount.RecIdLedgerAllocationEntity
LineNumNumber of the line within the allocation.Real
LineNum
NoLedgerAllocationEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToDefaultDimensionLink to the default dimension values of the target side.Int64
LedgerDimensionValueSet
NoDimensionAttributeValueSet.RecIdLedgerAllocationEntity
ToLedgerDimensionLink to the account combination that receives the allocation.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdLedgerAllocationEntity
ValuePercentage of the amount that is allocated.Real
LedgerAllocatePct
NoLedgerAllocationEntity

Indexes (7)

Relations (7)

Each relation joins LedgerAllocation to another table on the fields shown.

  • DimensionKeepTransaction → DimensionAttributeSet

    Join on DimensionKeepTransaction = DimensionAttributeSet.RecId

    Many LedgerAllocation records → zero or one DimensionAttributeSet record

  • DimensionSelectionCriteria → DimensionAttributeSet

    Join on DimensionSelectionCriteria = DimensionAttributeSet.RecId

    Many LedgerAllocation records → zero or one DimensionAttributeSet record

  • FromDefaultDimension → DimensionAttributeValueSet

    Join on FromDefaultDimension = DimensionAttributeValueSet.RecId

    Many LedgerAllocation records → zero or one DimensionAttributeValueSet record

  • FromMainAccount → MainAccount

    Join on FromMainAccount = MainAccount.RecId

    Many LedgerAllocation records → exactly one MainAccount record

  • FromMainAccountLegalEntity → MainAccountLegalEntity

    Join on FromMainAccount = MainAccountLegalEntity.MainAccount

    Many LedgerAllocation records → zero or one MainAccountLegalEntity record

  • ToDefaultDimension → DimensionAttributeValueSet

    Join on ToDefaultDimension = DimensionAttributeValueSet.RecId

    Many LedgerAllocation records → zero or one DimensionAttributeValueSet record

  • ToLedgerDimension → DimensionAttributeValueCombination

    Join on ToLedgerDimension = DimensionAttributeValueCombination.RecId

    Many 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.

Need help with LedgerAllocation in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk