Data entity

PurchApprovalLineEntity

Read-only entity with purchase order lines for approval. It is keyed by purchase order, line number, legal entity and work item record ID. It shows item, quantity, price, discount, net amount, product category and workflow task details.

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

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PurchaseOrderApprovalLines
Dataverse virtual table
mserp_purchapprovallineentity. 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
  • WorkflowWorkItemTable · InnerJoin to PurchLine · read-only
  • EcoResCategory · OuterJoin to PurchLine · read-only
  • EcoResCategory_PCClass (table PCClass) · Derived to EcoResCategory

Fields (20)

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
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
VendorAccountNumberAccount number of the vendor. It points to a vendor record.String (20)
VendAccount
YesYesVendTable.AccountNumPurchLine.VendAccount
RequestedDeliveryDateReceipt date requested for the goods on this line.Date
PurchLineRequestedReceiptDate
NoYesPurchLine.DeliveryDate
OrderedPurchaseQuantityQuantity ordered, in the purchase unit.Real
PurchOrderedQty
NoYesPurchLine.PurchQty
PurchasePricePrice for one price unit of the item.Real
PurchPrice
NoYesPurchLine.PurchPrice
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
PurchasePriceQuantityNumber of units that the unit price applies to.Real
PriceUnit
NoYesPurchLine.PriceUnit
PurchaseUnitSymbolUnit of measure used for the purchase quantity.String
PurchUnit
NoYesUnitOfMeasure.SymbolPurchLine.PurchUnit
CurrencyCodeCurrency of the line. It points to a currency record.String (3)
VendCurrencyCode
YesYesCurrency.CurrencyCodePurchLine.CurrencyCode
ProcurementProductCategoryNameName of the category.String (254)
EcoResCategoryName
YesYesEcoResCategory.Name
LegalEntityThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesPurchLine.DataAreaId
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
WorkflowElementIdThe workflow task element this work item belongs to.Guid
WorkflowElementId
NoYesWorkflowElementTable.ElementIdWorkflowWorkItemTable.ElementId
WorkItemTypeKind of work item, such as work item, return or escalation.Enum
WorkflowWorkItemType
  • WorkItem 0
  • RequestChange 1
  • Return 2
  • Escalated 3
  • FinalApprover 4
  • Recall 5
NoYesWorkflowWorkItemTable.Type
DescriptionInstructions for the person who handles the work item.String (-1)
WorkflowStepInstruction
NoYesWorkflowWorkItemTable.Description

Foreign keys (6)

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

Email sales@drdynamics.co.uk