Table

LedgerAllocationRuleDestination

Ledger allocation rule destination

Holds the destination lines of a ledger allocation rule. Each line is identified by the rule ID and a line number. It names the target company, account and dimensions, and a percentage, weight or basis.

Table name
LedgerAllocationRuleDestination
Module
General ledger
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
LedgerAllocationRules
Primary index
RuleNumIdx
Replacement key
None
Key fields
RuleID, LineNum
Model
GeneralLedger

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RuleIDID of the allocation rule that this line belongs to.String (20)
LedgerAllocationRuleID
YesLedgerAllocationRule.RuleIdLedgerAllocationRuleDestinationEntity
LineNumNumber that orders the lines within a rule.Real
LineNum
NoLedgerAllocationRuleDestinationEntity
BasisIdID of the allocation basis used for this destination.String (20)
LedgerAllocationBasisID
NoLedgerAllocationBasisRule.BasisIdLedgerAllocationRuleDestinationEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoLedgerAllocationRuleDestinationEntity
FixedPercentFixed percentage given to this destination.Real
LedgerAllocatePct
NoLedgerAllocationRuleDestinationEntity
FixedWeightFixed weight given to this destination.Real
LedgerAllocationFixedWeight
NoLedgerAllocationRuleDestinationEntity
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
ToCompanyCompany (legal entity) that receives the allocation.String
SelectableDataArea
NoLedgerAllocationRuleDestinationEntity
ToDefaultDimensionPoints to the set of dimension values for the destination.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdLedgerAllocationRuleDestinationEntity
ToLedgerDimensionPoints to the account and dimension combination that receives the allocation.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdLedgerAllocationRuleDestinationEntity

Indexes (4)

Relations (5)

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

  • DataArea → DataArea

    Join on ToCompany = DataArea.id

    Many LedgerAllocationRuleDestination records → zero or one DataArea record

  • LedgerAllocationBasisRule → LedgerAllocationBasisRule

    Join on BasisId = LedgerAllocationBasisRule.BasisId

    Many LedgerAllocationRuleDestination records → zero or one LedgerAllocationBasisRule record

  • LedgerAllocationRule → LedgerAllocationRule

    Join on RuleID = LedgerAllocationRule.RuleId

    Many LedgerAllocationRuleDestination records → exactly one LedgerAllocationRule record

  • ToDefaultDimension → DimensionAttributeValueSet

    Join on ToDefaultDimension = DimensionAttributeValueSet.RecId

    Many LedgerAllocationRuleDestination records → zero or one DimensionAttributeValueSet record

  • ToLedgerDimension → DimensionAttributeValueCombination

    Join on ToLedgerDimension = DimensionAttributeValueCombination.RecId

    Many LedgerAllocationRuleDestination records → zero or one DimensionAttributeValueCombination record

Get this data out

Tables are not exposed directly. These public entities read from LedgerAllocationRuleDestination; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk