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 · root
  • PurchLine · InnerJoin to AccountingDistribution · read-only
  • PurchTable · InnerJoin to PurchLine · read-only
  • WorkflowWorkItemTable · InnerJoin to PurchTable · read-only
  • DimensionAttributeValueCombination · InnerJoin to AccountingDistribution · read-only

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
SourceDocumentLinePoints to the source document line that the distribution belongs to. It is part of the key.Int64
SourceDocumentLineRecId
NoYesSourceDocumentLine.RecIdAccountingDistribution.SourceDocumentLine
DistributionNumberNumber that identifies the distribution within its source document line.Int64
AccountingDistributionNumber
NoYesAccountingDistribution.Number
LedgerAccountFull combination text as shown to users.String (500)
DimensionDisplayValue
YesYesDimensionAttributeValueCombination.DisplayValue
TransactionCurrencyCode of the currency of the transaction.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeAccountingDistribution.TransactionCurrency
TransactionCurrencyAmountAmount in the transaction currency.Real
AmountCur
NoYesAccountingDistribution.TransactionCurrencyAmount
LegalEntityThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesPurchLine.DataAreaId
PurchaseOrderNumberNumber of the purchase order that the line belongs to. It points to the purchase order header.String (20)
PurchIdBase
YesYesPurchTable.PurchIdPurchLine.PurchId
LineNumberNumber of the line within the purchase order.Int64
TradeLineNumber
NoYesPurchLine.LineNumber
ItemNumberNumber of the item being purchased. It points to an item record.String (20)
ItemIdSmall
NoYesInventTable.ItemIdPurchLine.ItemId
ApprovalUserThe user the work item is assigned to.String
WorkflowUser
NoYesWorkflowWorkItemTable.UserId
WorkItemRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesWorkflowWorkItemTable.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.

Need help with PurchApprovalAccountingDistributionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk