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 · root
  • DimensionDAVS (table DimensionSetEntity) · OuterJoin to LedgerAllocationRule · read-only
  • OffsetAccountDAVC (table DimensionCombinationEntity) · OuterJoin to LedgerAllocationRule · read-only

Fields (22)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ActiveShows whether the rule is active (yes or no).Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerAllocationRule.AllocationActive
DescriptionShort text describing the rule.String (60)
Description
NoYesLedgerAllocationRule.AllocationDescription
AllocationMethodMethod of the allocation: blank, basis, fixed percentage, fixed weight or equally.Enum
LedgerAllocationMethod
  • Blank 0
  • Basis 1
  • FixedPercentage 2
  • FixedWeight 3
  • SpreadEven 4
NoYesLedgerAllocationRule.AllocationMethod
AmountAmount used together with the mathematical operation.Real
Amount
NoYesLedgerAllocationRule.CalculationAmount
MathematicalOperationMathematical operation to apply: none, multiply or divide.Enum
LedgerAllocationMathType
  • None 0
  • Multiply 3
  • Divide 4
NoYesLedgerAllocationRule.CalculationType
DataSourceWhere the amounts come from: the ledger or a fixed value.Enum
LedgerAllocationSource
  • Ledger 0
  • FixedValue 1
NoYesLedgerAllocationRule.DataSource
DateIntervalCodeDate interval code linked to the rule.String
DateCode
NoYesLedgerPeriodCode.CodeLedgerAllocationRule.DateInterval
DateLastRunDate on which the rule was last run.Date
TransDate
NoYesLedgerAllocationRule.DateLastRun
KeepAccountFromSays whether the destination account comes from the source or is entered by the user.Enum
LedgerAllocationFromTo
  • Source 1
  • UserSpecified 0
NoYesLedgerAllocationRule.DestinationAccountFrom
KeepDimensionFromSays whether the destination dimensions come from the source or are entered by the user.Enum
LedgerAllocationFromTo
  • Source 1
  • UserSpecified 0
NoYesLedgerAllocationRule.DestinationDimensionFrom
ExpirationDateLast date on which the rule is valid.Date
EndDate
NoYesLedgerAllocationRule.EffectiveEndDate
EffectiveDateFirst date on which the rule is valid.Date
StartDate
NoYesLedgerAllocationRule.EffectiveStartDate
FixedValueFixed value (weight) used when the data source is a fixed value.Real
LedgerAllocationFixedWeight
NoYesLedgerAllocationRule.FixedValue
IntercompanyRuleShows whether the rule is an intercompany rule (yes or no).Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesLedgerAllocationRule.IntercompanyRule
JournalNameName of the ledger journal linked to the rule.String
LedgerJournalNameId
NoYesLedgerJournalName.JournalNameLedgerAllocationRule.JournalName
OffsetAccountFromSays whether the offset account comes from the source or is entered by the user.Enum
LedgerAllocationFromTo
  • Source 1
  • UserSpecified 0
NoYesLedgerAllocationRule.OffsetAccountFrom
DimensionPoints to the set of dimension values used for the offset.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdLedgerAllocationRule.OffsetDefaultDimension
OffsetDimensionFromSays whether the offset dimensions come from the source or are entered by the user.Enum
LedgerAllocationFromTo
  • Source 1
  • UserSpecified 0
NoYesLedgerAllocationRule.OffsetDimensionFrom
OffsetAccountPoints to the account and dimension combination used as the offset account.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdLedgerAllocationRule.OffsetLedgerDimension
RuleUnique ID of the allocation rule.String (20)
LedgerAllocationRuleID
YesYesLedgerAllocationRule.RuleId
DimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
OffsetAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone

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.

Email sales@drdynamics.co.uk