Table
LedgerAllocationRuleSource
Ledger allocation rule source
Holds the source lines of a ledger allocation rule. Each line is identified by the rule ID and a line number. A line selects a main account or a financial dimension, using criteria.
- Table name
LedgerAllocationRuleSource- 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 (11)
| 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 | LedgerAllocationRuleSourceEntity |
LineNumNumber that orders the lines within a rule. | RealLineNum | No | LedgerAllocationRuleSourceEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FieldSettingSays whether the line uses a main account or a financial dimension. | EnumLedgerAllocationAccountDimension (enum) | No | LedgerAllocationRuleSourceEntity | |
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 | |
SourceCriteriaText of the criteria used to select source accounts or dimension values. | String (1999)DimensionsAccountCriteria | No | LedgerAllocationRuleSourceEntity | |
SourceDimensionAttributePoints to the financial dimension that the line uses. | Int64RefRecId | No | DimensionAttribute.RecId | LedgerAllocationRuleSourceEntity |
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 |
Indexes (2)
RuleNumIdxPrimary indexUnique.
SourceDimensionAttributeNot unique.
Relations (2)
Each relation joins LedgerAllocationRuleSource to another table on the fields shown.
DimensionAttribute→DimensionAttributeJoin on
SourceDimensionAttribute = DimensionAttribute.RecIdMany LedgerAllocationRuleSource records → zero or one DimensionAttribute record
LedgerAllocationRule→LedgerAllocationRuleJoin on
RuleID = LedgerAllocationRule.RuleIdMany LedgerAllocationRuleSource records → exactly one LedgerAllocationRule record
Get this data out
Tables are not exposed directly. These public entities read from LedgerAllocationRuleSource; use one of them in Power BI, Power Platform or a data management project.
LedgerAllocationRuleSourceEntity· 5 fields from this table
Need help with LedgerAllocationRuleSource in a report, an integration or a migration? Talk to Dr Dynamics.