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-only
  • WorkflowWorkItemTable · InnerJoin to PurchReqTable · read-only

Fields (9)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
RequisitionTableRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesPurchReqTable.RecId
RequisitionNumberPurchase requisition number; the key of the table.String (25)
PurchReqId
YesYesPurchReqTable.PurchReqId
RequisitionNameName given to the requisition.String (60)
PurchReqName
YesYesPurchReqTable.PurchReqName
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
WorkflowCommentComment linked to the approval work item.String (-1)
WorkflowComment
NoYesvirtual
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 (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.

Email sales@drdynamics.co.uk