Data entity
PurchReqApprovalHeaderEntity
Read-only list of purchase requisitions waiting for approval. Each record joins the requisition to its workflow work item. It shows the requisition number, name, approval user, task, type and instruction. It is keyed by requisition number and work item ID.
- Entity name
PurchReqApprovalHeaderEntity- Public entity name
PurchaseRequisitionApprovalHeader- OData collection
PurchaseRequisitionApprovalHeaders- Category
Document- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
None- Keys
RequisitionNumber, WorkItemRecId- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PurchaseRequisitionApprovalHeaders- Dataverse virtual table
mserp_purchreqapprovalheaderentity. 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
PurchReqTable· root · read-onlyWorkflowWorkItemTable· InnerJoin toPurchReqTable· read-only
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RequisitionTableRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | PurchReqTable.RecId | |
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 | |
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 | |
WorkflowCommentComment linked to the approval work item. | String (-1)WorkflowComment | No | Yes | virtual | |
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 (1)
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.
WorkflowElementId→WorkflowElementTable.ElementId(key of WorkflowElementTable)Many WorkflowWorkItemTable records → zero or one WorkflowElementTable record
Not exposed by a public entity.
Need help with PurchReqApprovalHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.