Data entity
PurchApprovalAccountingDistributionEntity
Accounting distributions for purchase order lines that are waiting for approval. It joins distribution records with purchase order lines, purchase orders, workflow work items and dimension combinations. It shows the purchase order, line, item, amount, currency, approval user and work item.
- Entity name
PurchApprovalAccountingDistributionEntity- Public entity name
ApprovalAccountingDistribution- OData collection
ApprovalAccountingDistributions- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
No- Configuration key
LedgerBasic- Keys
SourceDocumentLine, DistributionNumber, WorkItemRecId- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ApprovalAccountingDistributions- Dataverse virtual table
mserp_purchapprovalaccountingdistributionentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
AccountingDistribution· rootPurchLine· InnerJoin toAccountingDistribution· read-onlyPurchTable· InnerJoin toPurchLine· read-onlyWorkflowWorkItemTable· InnerJoin toPurchTable· read-onlyDimensionAttributeValueCombination· InnerJoin toAccountingDistribution· read-only
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
SourceDocumentLinePoints to the source document line that the distribution belongs to. It is part of the key. | Int64SourceDocumentLineRecId | No | Yes | SourceDocumentLine.RecId | AccountingDistribution.SourceDocumentLine |
DistributionNumberNumber that identifies the distribution within its source document line. | Int64AccountingDistributionNumber | No | Yes | AccountingDistribution.Number | |
LedgerAccountFull combination text as shown to users. | String (500)DimensionDisplayValue | Yes | Yes | DimensionAttributeValueCombination.DisplayValue | |
TransactionCurrencyCode of the currency of the transaction. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | AccountingDistribution.TransactionCurrency |
TransactionCurrencyAmountAmount in the transaction currency. | RealAmountCur | No | Yes | AccountingDistribution.TransactionCurrencyAmount | |
LegalEntityThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | PurchLine.DataAreaId | |
PurchaseOrderNumberNumber of the purchase order that the line belongs to. It points to the purchase order header. | String (20)PurchIdBase | Yes | Yes | PurchTable.PurchId | PurchLine.PurchId |
LineNumberNumber of the line within the purchase order. | Int64TradeLineNumber | No | Yes | PurchLine.LineNumber | |
ItemNumberNumber of the item being purchased. It points to an item record. | String (20)ItemIdSmall | No | Yes | InventTable.ItemId | PurchLine.ItemId |
ApprovalUserThe user the work item is assigned to. | StringWorkflowUser | No | Yes | WorkflowWorkItemTable.UserId | |
WorkItemRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | WorkflowWorkItemTable.RecId |
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.
SourceDocumentLine→SourceDocumentLine.RecId(key of SourceDocumentLine)Many AccountingDistribution records → zero or one SourceDocumentLine record
SourceDocumentLine details: see SourceDocumentLineBiEntity, SourceDocumentLineCDREntity
TransactionCurrency→Currency.CurrencyCode(key of Currency)Many AccountingDistribution records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
PurchaseOrderNumber→PurchTable.PurchId(key of PurchTable)Many PurchLine records → exactly one PurchTable record
PurchTable details: see PurchPurchaseOrderHeaderV2Entity, PurchPurchaseOrderHeaderEntity, ProjSubContractPurchaseOrderHeaderEntity
ItemNumber→InventTable.ItemId(key of InventTable)Many PurchLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
Need help with PurchApprovalAccountingDistributionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.