Data entity
LedgerAllocationRuleEntity
Holds ledger allocation rules. Each rule has a description, an allocation method, a data source, a date interval and effective and expiration dates. It also holds journal name, offset settings, and account and dimension values. The key is the rule.
- Entity name
LedgerAllocationRuleEntity- Public entity name
AllocationRule- OData collection
AllocationRules- Category
Not set- Module
General ledger- Read-only
No- Data management enabled
Yes- Configuration key
LedgerAllocationRules- Keys
Rule- Staging table
LedgerAllocationRuleStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/AllocationRules- Dataverse virtual table
mserp_ledgerallocationruleentity. 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
LedgerAllocationRule· rootDimensionDAVS(tableDimensionSetEntity) · OuterJoin toLedgerAllocationRule· read-onlyOffsetAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toLedgerAllocationRule· read-only
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ActiveShows whether the rule is active (yes or no). | Enum
| No | Yes | LedgerAllocationRule.AllocationActive | |
DescriptionShort text describing the rule. | String (60)Description | No | Yes | LedgerAllocationRule.AllocationDescription | |
AllocationMethodMethod of the allocation: blank, basis, fixed percentage, fixed weight or equally. | Enum
| No | Yes | LedgerAllocationRule.AllocationMethod | |
AmountAmount used together with the mathematical operation. | RealAmount | No | Yes | LedgerAllocationRule.CalculationAmount | |
MathematicalOperationMathematical operation to apply: none, multiply or divide. | Enum
| No | Yes | LedgerAllocationRule.CalculationType | |
DataSourceWhere the amounts come from: the ledger or a fixed value. | Enum
| No | Yes | LedgerAllocationRule.DataSource | |
DateIntervalCodeDate interval code linked to the rule. | StringDateCode | No | Yes | LedgerPeriodCode.Code | LedgerAllocationRule.DateInterval |
DateLastRunDate on which the rule was last run. | DateTransDate | No | Yes | LedgerAllocationRule.DateLastRun | |
KeepAccountFromSays whether the destination account comes from the source or is entered by the user. | Enum
| No | Yes | LedgerAllocationRule.DestinationAccountFrom | |
KeepDimensionFromSays whether the destination dimensions come from the source or are entered by the user. | Enum
| No | Yes | LedgerAllocationRule.DestinationDimensionFrom | |
ExpirationDateLast date on which the rule is valid. | DateEndDate | No | Yes | LedgerAllocationRule.EffectiveEndDate | |
EffectiveDateFirst date on which the rule is valid. | DateStartDate | No | Yes | LedgerAllocationRule.EffectiveStartDate | |
FixedValueFixed value (weight) used when the data source is a fixed value. | RealLedgerAllocationFixedWeight | No | Yes | LedgerAllocationRule.FixedValue | |
IntercompanyRuleShows whether the rule is an intercompany rule (yes or no). | Enum
| No | Yes | LedgerAllocationRule.IntercompanyRule | |
JournalNameName of the ledger journal linked to the rule. | StringLedgerJournalNameId | No | Yes | LedgerJournalName.JournalName | LedgerAllocationRule.JournalName |
OffsetAccountFromSays whether the offset account comes from the source or is entered by the user. | Enum
| No | Yes | LedgerAllocationRule.OffsetAccountFrom | |
DimensionPoints to the set of dimension values used for the offset. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | LedgerAllocationRule.OffsetDefaultDimension |
OffsetDimensionFromSays whether the offset dimensions come from the source or are entered by the user. | Enum
| No | Yes | LedgerAllocationRule.OffsetDimensionFrom | |
OffsetAccountPoints to the account and dimension combination used as the offset account. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | LedgerAllocationRule.OffsetLedgerDimension |
RuleUnique ID of the allocation rule. | String (20)LedgerAllocationRuleID | Yes | Yes | LedgerAllocationRule.RuleId | |
DimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
OffsetAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None |
Foreign keys (4)
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.
DateIntervalCode→LedgerPeriodCode.Code(key of LedgerPeriodCode)Many LedgerAllocationRule records → zero or one LedgerPeriodCode record
LedgerPeriodCode details: see LedgerDateIntervalEntity
JournalName→LedgerJournalName.JournalName(key of LedgerJournalName)Many LedgerAllocationRule records → zero or one LedgerJournalName record
LedgerJournalName details: see LedgerJournalNameEntity
Dimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many LedgerAllocationRule records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
OffsetAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many LedgerAllocationRule records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Need help with LedgerAllocationRuleEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.