Data entity

PurchaseRequisitionHeaderV2Entity

Holds purchase requisition headers. Each record is keyed by the requisition number. It shows the name, preparer, status, purpose, requested and accounting dates, business justification, buying legal entity, project and on-hold flag.

Entity name
PurchaseRequisitionHeaderV2Entity
Public entity name
PurchaseRequisitionHeader
OData collection
PurchaseRequisitionHeaders
Category
Document
Module
Procurement and sourcing
Read-only
No
Data management enabled
Yes
Configuration key
PurchReq
Keys
RequisitionNumber
Staging table
PurchaseRequisitionHeaderV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PurchaseRequisitionHeaders
Dataverse virtual table
mserp_purchaserequisitionheaderv2entity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • PurchReqTable · root
  • CompanyInfoDefault (table CompanyInfo) · OuterJoin to PurchReqTable · read-only
  • Originator (table HcmWorker) · OuterJoin to PurchReqTable · read-only
  • PurchReqBusinessJustificationCodes · OuterJoin to PurchReqTable · read-only
  • PurchReqBusJustification · OuterJoin to PurchReqTable

Fields (16)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
RequisitionNumberPurchase requisition number; the key of the table.String (25)
PurchReqId
NoYesPurchReqTable.PurchReqId
RequisitionNameName given to the requisition.String (60)
PurchReqName
YesYesPurchReqTable.PurchReqName
PreparerRecIdRecord ID of the worker who prepared the requisition.Int64
PurchReqPreparerRefRecId
YesNo (private)HcmWorker.RecIdPurchReqTable.Originator
PreparerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
RequisitionStatusStatus of the requisition, such as draft, in review, approved, rejected, cancelled, closed or budget reserved.Enum
PurchReqRequisitionStatus
  • Draft 0
  • InReview 10
  • Rejected 20
  • Approved 30
  • Cancelled 40
  • Closed 50
  • ReferencedByBudgetReservation_PSN 60
NoYesPurchReqTable.RequisitionStatus
RequisitionPurposePurpose of the requisition: consumption or replenishment.Enum
RequisitionPurpose
  • Consumption 0
  • Replenishment 1
NoYesPurchReqTable.RequisitionPurpose
DefaultRequestedDateDate by which the requisition items are requested.Date
PurchReqRequiredDate
NoYesPurchReqTable.RequiredDate
DefaultAccountingDateAccounting date of the requisition.Date
PurchReqAccountingDate
NoYesPurchReqTable.TransDate
DefaultBusinessJustificationRecIdRecord ID of the business justification code chosen as the reason for the requisition.Int64
BusinessJustificationRefRecId
NoNo (private)PurchReqBusinessJustificationCodes.RecIdPurchReqTable.BusinessJustification
DefaultBusinessJustificationCodeCode of the business justification; this is the key of the table.String
PurchReqJustificationReasonCode
NoYesPurchReqBusinessJustificationCodes.Reason
DefaultBusinessJustificationDetailsFree-text details of the justification.String (-1)
PurchReqBusinessJustification
NoYesPurchReqBusJustification.BusinessJustification
ProjectBuyingLegalEntityRecIdRecord ID of the buying legal entity for the requisition.Int64
RefRecId
NoNo (private)CompanyInfo.RecIdPurchReqTable.CompanyInfoDefault
ProjectBuyingLegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
NoYesCompanyInfo.DataArea
DefaultProjectIdProject ID linked to the requisition.String (20)
ProjId
NoYesProjTable.ProjIdPurchReqTable.ProjId
IsPurchaseRequisitionOnHoldYes/No flag showing that the requisition is on hold.Enum
PurchReqHoldStatus
NoYes

Platform enum: values not in the metadata extract.

NoYesPurchReqTable.OnHold
OnHoldExplanationText that explains why the requisition is on hold.String (566)
PurchReqHoldExplanation
NoYesPurchReqTable.HoldExplanation

Foreign keys (4)

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

Email sales@drdynamics.co.uk