Data entity

PurchReqApprovalLineEntity

Read-only list of purchase requisition lines for approval. Each line shows the item, vendor, quantity, price, discount, net amount, currency, unit and product category name. It also has the requisition name, approval user and work item details. It is keyed by requisition number, line number and work item ID.

Entity name
PurchReqApprovalLineEntity
Public entity name
PurchaseRequisitionApprovalLine
OData collection
PurchaseRequisitionApprovalLines
Category
Document
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
None
Keys
RequisitionNumber, RequisitionLineNumber, WorkItemRecId
Staging table
None

Use it in Power BI and Power Platform

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

  • PurchReqLine · root · read-only
  • WorkflowWorkItemTable · InnerJoin to PurchReqLine · read-only
  • UnitOfMeasure · InnerJoin to PurchReqLine · read-only
  • PurchReqTable · InnerJoin to PurchReqLine · read-only
  • EcoResCategory · OuterJoin to PurchReqLine · read-only
  • EcoResCategory_PCClass (table PCClass) · Derived to EcoResCategory

Fields (21)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
RequisitionLineNumberLine sequence number within the requisition. Part of the key.Integer
SequenceNumber
NoYesPurchReqLine.SequenceNumber
ItemNumberItem number requested on the line.String (20)
ItemIdSmall
NoYesInventTable.ItemIdPurchReqLine.ItemId
VendorAccountNumberVendor account suggested for the line.String (20)
VendAccount
NoYesVendTable.AccountNumPurchReqLine.VendAccount
RequestedPurchaseQuantityRequested quantity.Real
InventQty
NoYesPurchReqLine.PurchQty
PurchasePriceUnit price of the requested item.Real
PurchReqPrice
NoYesPurchReqLine.PurchPrice
PurchasePriceQuantityQuantity that the unit price applies to.Real
PriceUnit
NoYesPurchReqLine.PriceUnit
LineDiscountAmountDiscount amount on the line.Real
PurchLineDisc
NoYesPurchReqLine.LineDisc
LineDiscountPercentageDiscount percentage on the line.Real
PurchLinePercent
NoYesPurchReqLine.LinePercent
LineAmountNet amount of the line.Real
PurchLineAmount
NoYesPurchReqLine.LineAmount
CurrencyCodeCurrency of the line amounts.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodePurchReqLine.CurrencyCode
RequestedDateDate by which the goods or services are needed.Date
PurchReqRequiredDate
NoYesPurchReqLine.RequiredDate
PurchaseUnitSymbolShort symbol that identifies the unit. It is the key of the table.String
UnitOfMeasureSymbol
YesYesUnitOfMeasure.Symbol
RequisitionNumberPurchase requisition number; the key of the table.String (25)
PurchReqId
YesYesPurchReqTable.PurchReqId
RequisitionNameName given to the requisition.String (60)
PurchReqName
YesYesPurchReqTable.PurchReqName
ProcurementProductCategoryNameName of the category.String (254)
EcoResCategoryName
YesYesEcoResCategory.Name
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
RequisitionTableRecIdReference to the requisition header this line belongs to. Part of the key.Int64
RefRecId
YesYesPurchReqTable.RecIdPurchReqLine.PurchReqTable
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 (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 PurchReqApprovalLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk