Data entity
LedgerAllocationRuleSourceEntity
Holds the source lines of a ledger allocation rule. Each line has source criteria, a field setting and a dimension name. The key is the rule plus the line number.
- Entity name
LedgerAllocationRuleSourceEntity- Public entity name
AllocationRuleSource- OData collection
AllocationRuleSources- Category
Not set- Module
General ledger- Read-only
No- Data management enabled
Yes- Configuration key
LedgerAllocationRules- Keys
Rule, LineNumber- Staging table
LedgerAllocationRuleSourceStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/AllocationRuleSources- Dataverse virtual table
mserp_ledgerallocationrulesourceentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
LedgerAllocationRuleSource· rootDimensionAttribute· OuterJoin toLedgerAllocationRuleSource· read-only
Fields (6)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
FieldSettingSays whether the line uses a main account or a financial dimension. | Enum
| No | Yes | LedgerAllocationRuleSource.FieldSetting | |
LineNumberNumber that orders the lines within a rule. | RealLineNum | Yes | Yes | LedgerAllocationRuleSource.LineNum | |
RuleID of the allocation rule that this line belongs to. | String (20)LedgerAllocationRuleID | Yes | Yes | LedgerAllocationRule.RuleId | LedgerAllocationRuleSource.RuleID |
SourceCriteriaText of the criteria used to select source accounts or dimension values. | String (1999)DimensionsAccountCriteria | No | Yes | LedgerAllocationRuleSource.SourceCriteria | |
DimensionAttributeRecIdPoints to the financial dimension that the line uses. | Int64RefRecId | No | No (private) | DimensionAttribute.RecId | LedgerAllocationRuleSource.SourceDimensionAttribute |
DimensionAttributeNameName of the dimension. It is the key of the table. | String (60)Name | No | Yes | DimensionAttribute.Name |
Foreign keys (2)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
Rule→LedgerAllocationRule.RuleId(key of LedgerAllocationRule)Many LedgerAllocationRuleSource records → exactly one LedgerAllocationRule record
LedgerAllocationRule details: see LedgerAllocationRuleEntity
DimensionAttributeRecId→DimensionAttribute.RecId(key of DimensionAttribute)Many LedgerAllocationRuleSource records → zero or one DimensionAttribute record
DimensionAttribute details: see DimensionAttributeEntity, RTSLDimensionRuleEntity, DerivedDimensionAttributeValuesEntity
Need help with LedgerAllocationRuleSourceEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.