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 descriptionType / EDT / enumMandatoryReferencesIn public entities
RuleIDID of the allocation rule that this line belongs to.String (20)
LedgerAllocationRuleID
YesLedgerAllocationRule.RuleIdLedgerAllocationRuleSourceEntity
LineNumNumber that orders the lines within a rule.Real
LineNum
NoLedgerAllocationRuleSourceEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FieldSettingSays whether the line uses a main account or a financial dimension.Enum
LedgerAllocationAccountDimension (enum)
NoLedgerAllocationRuleSourceEntity
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
SourceCriteriaText of the criteria used to select source accounts or dimension values.String (1999)
DimensionsAccountCriteria
NoLedgerAllocationRuleSourceEntity
SourceDimensionAttributePoints to the financial dimension that the line uses.Int64
RefRecId
NoDimensionAttribute.RecIdLedgerAllocationRuleSourceEntity
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

Indexes (2)

Relations (2)

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

  • DimensionAttribute → DimensionAttribute

    Join on SourceDimensionAttribute = DimensionAttribute.RecId

    Many LedgerAllocationRuleSource records → zero or one DimensionAttribute record

  • LedgerAllocationRule → LedgerAllocationRule

    Join on RuleID = LedgerAllocationRule.RuleId

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

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

Email sales@drdynamics.co.uk