Data entity
LedgerAllocationEntity
Holds allocation lines for main accounts. Each line has a source main account, a percentage, source criteria and a destination main account. It also holds source and destination financial dimension values. The key is the main account and line number.
- Entity name
LedgerAllocationEntity- Public entity name
AllocationForMainAccount- OData collection
AllocationForMainAccounts- Category
Not set- Module
General ledger- Read-only
No- Data management enabled
Yes- Configuration key
LedgerBasic- Keys
MainAccountId, LineNumber- Staging table
LedgerAllocationStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/AllocationForMainAccounts- Dataverse virtual table
mserp_ledgerallocationentity. 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
LedgerAllocation· rootFromMainAccount(tableMainAccount) · InnerJoin toLedgerAllocation· read-onlySourceSelectionCriteriaDimensionsDAVS(tableDimensionSetEntity) · OuterJoin toLedgerAllocation· read-onlyDestinationDimensionsDAVS(tableDimensionSetEntity) · OuterJoin toLedgerAllocation· read-onlyDestinationAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toLedgerAllocation· read-only
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
SourceAccountLink to the main account that the allocation starts from. | Int64RefRecId | Yes | No (private) | MainAccount.RecId | LedgerAllocation.FromMainAccount |
FromMainAccountRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | No (private) | MainAccount.RecId | |
FromMainAccountLedgerChartOfAccountsRecIdPoints to the chart of accounts that the account belongs to. | Int64RefRecId | Yes | No (private) | LedgerChartOfAccounts.RecId | MainAccount.LedgerChartOfAccounts |
MainAccountIdMain account number, part of the key. | String (20)MainAccountNum | Yes | Yes | MainAccount.MainAccountId | |
LineNumberNumber of the line within the allocation. | RealLineNum | No | Yes | LedgerAllocation.LineNum | |
AllocationPercentagePercentage of the amount that is allocated. | RealLedgerAllocatePct | No | Yes | LedgerAllocation.Value | |
SourceSelectionCriteriaLink to the dimension set used to select transactions for the rule. | Int64DimensionEnumeration | No | No (private) | DimensionAttributeSet.RecId | LedgerAllocation.DimensionSelectionCriteria |
SourceSelectionCriteriaDisplayValueFinancial dimension values used to select the source amounts, shown as one text value. | String (500)DimensionDisplayValue | No | Yes | virtual | |
SourceSelectionCriteriaDimensionsLink to the default dimension values of the source side. | Int64LedgerDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | LedgerAllocation.FromDefaultDimension |
SourceSelectionCriteriaDimensionsDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DestinationAccountLink to the account combination that receives the allocation. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | LedgerAllocation.ToLedgerDimension |
DestinationAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
DestinationKeepSourceDimensionsLink to the dimension set whose dimensions are kept on the transaction. | Int64DimensionEnumeration | No | No (private) | DimensionAttributeSet.RecId | LedgerAllocation.DimensionKeepTransaction |
DestinationKeepSourceDimensionsDisplayValueDimension values that are kept from the source on the destination, shown as one text value. | String (500)DimensionDisplayValue | No | Yes | virtual | |
DestinationDimensionsLink to the default dimension values of the target side. | Int64LedgerDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | LedgerAllocation.ToDefaultDimension |
DestinationDimensionsDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None |
Foreign keys (7)
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.
SourceAccount→MainAccount.RecId(key of MainAccount)Many LedgerAllocation records → exactly one MainAccount record
MainAccount details: see MainAccountEntity, MainAccountTranslationEntity, MainAccountLegalEntityOverrideEntity
FromMainAccountLedgerChartOfAccountsRecId→LedgerChartOfAccounts.RecId(key of LedgerChartOfAccounts)Many MainAccount records → exactly one LedgerChartOfAccounts record
LedgerChartOfAccounts details: see LedgerChartOfAccountsEntity, CPParametersEntity, CPRediscountTableEntity
SourceSelectionCriteria→DimensionAttributeSet.RecId(key of DimensionAttributeSet)Many LedgerAllocation records → zero or one DimensionAttributeSet record
DimensionAttributeSet details: see DimensionEnumerationEntity
SourceSelectionCriteriaDimensions→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many LedgerAllocation records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
DestinationAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many LedgerAllocation records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
DestinationKeepSourceDimensions→DimensionAttributeSet.RecId(key of DimensionAttributeSet)Many LedgerAllocation records → zero or one DimensionAttributeSet record
DimensionAttributeSet details: see DimensionEnumerationEntity
DestinationDimensions→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many LedgerAllocation records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
Need help with LedgerAllocationEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.