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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RuleIDID of the allocation rule that this line belongs to. | String (20)LedgerAllocationRuleID | Yes | LedgerAllocationRule.RuleId | LedgerAllocationRuleDestinationEntity |
LineNumNumber that orders the lines within a rule. | RealLineNum | No | LedgerAllocationRuleDestinationEntity | |
BasisIdID of the allocation basis used for this destination. | String (20)LedgerAllocationBasisID | No | LedgerAllocationBasisRule.BasisId | LedgerAllocationRuleDestinationEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | LedgerAllocationRuleDestinationEntity | |
FixedPercentFixed percentage given to this destination. | RealLedgerAllocatePct | No | LedgerAllocationRuleDestinationEntity | |
FixedWeightFixed weight given to this destination. | RealLedgerAllocationFixedWeight | No | LedgerAllocationRuleDestinationEntity | |
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 | |
ToCompanyCompany (legal entity) that receives the allocation. | StringSelectableDataArea | No | LedgerAllocationRuleDestinationEntity | |
ToDefaultDimensionPoints to the set of dimension values for the destination. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | LedgerAllocationRuleDestinationEntity |
ToLedgerDimensionPoints to the account and dimension combination that receives the allocation. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | LedgerAllocationRuleDestinationEntity |
Indexes (4)
RuleNumIdxPrimary indexUnique.
BasisIdxNot unique.
ToLedgerDimensionNot unique.
ToDefaultDimensionNot unique.
Relations (5)
Each relation joins LedgerAllocationRuleDestination to another table on the fields shown.
DataArea→DataAreaJoin on
ToCompany = DataArea.idMany LedgerAllocationRuleDestination records → zero or one DataArea record
LedgerAllocationBasisRule→LedgerAllocationBasisRuleJoin on
BasisId = LedgerAllocationBasisRule.BasisIdMany LedgerAllocationRuleDestination records → zero or one LedgerAllocationBasisRule record
LedgerAllocationRule→LedgerAllocationRuleJoin on
RuleID = LedgerAllocationRule.RuleIdMany LedgerAllocationRuleDestination records → exactly one LedgerAllocationRule record
ToDefaultDimension→DimensionAttributeValueSetJoin on
ToDefaultDimension = DimensionAttributeValueSet.RecIdMany LedgerAllocationRuleDestination records → zero or one DimensionAttributeValueSet record
ToLedgerDimension→DimensionAttributeValueCombinationJoin on
ToLedgerDimension = DimensionAttributeValueCombination.RecIdMany 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.
LedgerAllocationRuleDestinationEntity· 9 fields from this table
Need help with LedgerAllocationRuleDestination in a report, an integration or a migration? Talk to Dr Dynamics.