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-onlyWorkflowWorkItemTable· InnerJoin toPurchReqLine· read-onlyUnitOfMeasure· InnerJoin toPurchReqLine· read-onlyPurchReqTable· InnerJoin toPurchReqLine· read-onlyEcoResCategory· OuterJoin toPurchReqLine· read-onlyEcoResCategory_PCClass(tablePCClass) · Derived toEcoResCategory
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RequisitionLineNumberLine sequence number within the requisition. Part of the key. | IntegerSequenceNumber | No | Yes | PurchReqLine.SequenceNumber | |
ItemNumberItem number requested on the line. | String (20)ItemIdSmall | No | Yes | InventTable.ItemId | PurchReqLine.ItemId |
VendorAccountNumberVendor account suggested for the line. | String (20)VendAccount | No | Yes | VendTable.AccountNum | PurchReqLine.VendAccount |
RequestedPurchaseQuantityRequested quantity. | RealInventQty | No | Yes | PurchReqLine.PurchQty | |
PurchasePriceUnit price of the requested item. | RealPurchReqPrice | No | Yes | PurchReqLine.PurchPrice | |
PurchasePriceQuantityQuantity that the unit price applies to. | RealPriceUnit | No | Yes | PurchReqLine.PriceUnit | |
LineDiscountAmountDiscount amount on the line. | RealPurchLineDisc | No | Yes | PurchReqLine.LineDisc | |
LineDiscountPercentageDiscount percentage on the line. | RealPurchLinePercent | No | Yes | PurchReqLine.LinePercent | |
LineAmountNet amount of the line. | RealPurchLineAmount | No | Yes | PurchReqLine.LineAmount | |
CurrencyCodeCurrency of the line amounts. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | PurchReqLine.CurrencyCode |
RequestedDateDate by which the goods or services are needed. | DatePurchReqRequiredDate | No | Yes | PurchReqLine.RequiredDate | |
PurchaseUnitSymbolShort symbol that identifies the unit. It is the key of the table. | StringUnitOfMeasureSymbol | Yes | Yes | UnitOfMeasure.Symbol | |
RequisitionNumberPurchase requisition number; the key of the table. | String (25)PurchReqId | Yes | Yes | PurchReqTable.PurchReqId | |
RequisitionNameName given to the requisition. | String (60)PurchReqName | Yes | Yes | PurchReqTable.PurchReqName | |
ProcurementProductCategoryNameName of the category. | String (254)EcoResCategoryName | Yes | Yes | EcoResCategory.Name | |
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 | |
RequisitionTableRecIdReference to the requisition header this line belongs to. Part of the key. | Int64RefRecId | Yes | Yes | PurchReqTable.RecId | PurchReqLine.PurchReqTable |
WorkflowElementIdThe workflow task element this work item belongs to. | GuidWorkflowElementId | No | Yes | WorkflowElementTable.ElementId | WorkflowWorkItemTable.ElementId |
WorkItemTypeKind of work item, such as work item, return or escalation. | Enum
| No | Yes | WorkflowWorkItemTable.Type | |
DescriptionInstructions for the person who handles the work item. | String (-1)WorkflowStepInstruction | No | Yes | WorkflowWorkItemTable.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.
ItemNumber→InventTable.ItemId(key of InventTable)Join on all of:
ItemNumber=InventTable.ItemId,ItemIdDataArea(table field, not in this entity) =InventTable.dataAreaIdMany PurchReqLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
VendorAccountNumber→VendTable.AccountNum(key of VendTable)Join on all of:
VendorAccountNumber=VendTable.AccountNum,VendAccountDataArea(table field, not in this entity) =VendTable.dataAreaIdMany PurchReqLine records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many PurchReqLine records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
RequisitionTableRecId→PurchReqTable.RecId(key of PurchReqTable)Many PurchReqLine records → exactly one PurchReqTable record
PurchReqTable details: see PurchaseRequisitionHeaderV2Entity, HcmContractorEntity, HcmContractorV2Entity
WorkflowElementId→WorkflowElementTable.ElementId(key of WorkflowElementTable)Many WorkflowWorkItemTable records → zero or one WorkflowElementTable record
Not exposed by a public entity.
Need help with PurchReqApprovalLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.