Data entity

PurchApprovalAttachedLineEntity

Read-only entity with purchase order lines that belong to an approval work item. It is keyed by legal entity, purchase order number and line number. It shows item, vendor, quantity, price, discount, net amount and the approval user.

Entity name
PurchApprovalAttachedLineEntity
Public entity name
PurchaseOrderApprovalAttachedLine
OData collection
PurchaseOrderApprovalAttachedLines
Category
Document
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
LogisticsBasic
Keys
LegalEntity, PurchaseOrderNumber, LineNumber
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PurchaseOrderApprovalAttachedLines
Dataverse virtual table
mserp_purchapprovalattachedlineentity. 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

  • PurchLine · root · read-only
  • PurchTable · InnerJoin to PurchLine · read-only
  • WorkflowWorkItemTable · InnerJoin to PurchTable · read-only

Fields (16)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
PurchaseOrderNumberNumber of the purchase order that the line belongs to. It points to the purchase order header.String (20)
PurchIdBase
YesYesPurchTable.PurchIdPurchLine.PurchId
ItemNumberNumber of the item being purchased. It points to an item record.String (20)
ItemIdSmall
NoYesInventTable.ItemIdPurchLine.ItemId
VendorAccountNumberAccount number of the vendor. It points to a vendor record.String (20)
VendAccount
YesYesVendTable.AccountNumPurchLine.VendAccount
OrderedPurchaseQuantityQuantity ordered, in the purchase unit.Real
PurchOrderedQty
NoYesPurchLine.PurchQty
CurrencyCodeCurrency of the line. It points to a currency record.String (3)
VendCurrencyCode
YesYesCurrency.CurrencyCodePurchLine.CurrencyCode
RequestedDeliveryDateReceipt date requested for the goods on this line.Date
PurchLineRequestedReceiptDate
NoYesPurchLine.DeliveryDate
PurchasePricePrice for one price unit of the item.Real
PurchPrice
NoYesPurchLine.PurchPrice
PurchasePriceQuantityNumber of units that the unit price applies to.Real
PriceUnit
NoYesPurchLine.PriceUnit
LineAmountNet amount of the line.Real
PurchLineAmount
NoYesPurchLine.LineAmount
LineDiscountAmountDiscount value on the line.Real
PurchLineDisc
NoYesPurchLine.LineDisc
LineDiscountPercentageLine discount, as a percentage.Real
PurchLinePercent
NoYesPurchLine.LinePercent
PurchaseUnitSymbolUnit of measure used for the purchase quantity.String
PurchUnit
NoYesUnitOfMeasure.SymbolPurchLine.PurchUnit
LineNumberNumber of the line within the purchase order.Int64
TradeLineNumber
NoYesPurchLine.LineNumber
LegalEntityThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesPurchLine.DataAreaId
WorkItemRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesWorkflowWorkItemTable.RecId
ApprovalUserThe user the work item is assigned to.String
WorkflowUser
NoYesWorkflowWorkItemTable.UserId

Foreign keys (5)

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 PurchApprovalAttachedLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk