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· rootCompanyInfoDefault(tableCompanyInfo) · OuterJoin toPurchReqTable· read-onlyOriginator(tableHcmWorker) · OuterJoin toPurchReqTable· read-onlyPurchReqBusinessJustificationCodes· OuterJoin toPurchReqTable· read-onlyPurchReqBusJustification· OuterJoin toPurchReqTable
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RequisitionNumberPurchase requisition number; the key of the table. | String (25)PurchReqId | No | Yes | PurchReqTable.PurchReqId | |
RequisitionNameName given to the requisition. | String (60)PurchReqName | Yes | Yes | PurchReqTable.PurchReqName | |
PreparerRecIdRecord ID of the worker who prepared the requisition. | Int64PurchReqPreparerRefRecId | Yes | No (private) | HcmWorker.RecId | PurchReqTable.Originator |
PreparerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
RequisitionStatusStatus of the requisition, such as draft, in review, approved, rejected, cancelled, closed or budget reserved. | Enum
| No | Yes | PurchReqTable.RequisitionStatus | |
RequisitionPurposePurpose of the requisition: consumption or replenishment. | Enum
| No | Yes | PurchReqTable.RequisitionPurpose | |
DefaultRequestedDateDate by which the requisition items are requested. | DatePurchReqRequiredDate | No | Yes | PurchReqTable.RequiredDate | |
DefaultAccountingDateAccounting date of the requisition. | DatePurchReqAccountingDate | No | Yes | PurchReqTable.TransDate | |
DefaultBusinessJustificationRecIdRecord ID of the business justification code chosen as the reason for the requisition. | Int64BusinessJustificationRefRecId | No | No (private) | PurchReqBusinessJustificationCodes.RecId | PurchReqTable.BusinessJustification |
DefaultBusinessJustificationCodeCode of the business justification; this is the key of the table. | StringPurchReqJustificationReasonCode | No | Yes | PurchReqBusinessJustificationCodes.Reason | |
DefaultBusinessJustificationDetailsFree-text details of the justification. | String (-1)PurchReqBusinessJustification | No | Yes | PurchReqBusJustification.BusinessJustification | |
ProjectBuyingLegalEntityRecIdRecord ID of the buying legal entity for the requisition. | Int64RefRecId | No | No (private) | CompanyInfo.RecId | PurchReqTable.CompanyInfoDefault |
ProjectBuyingLegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | No | Yes | CompanyInfo.DataArea | |
DefaultProjectIdProject ID linked to the requisition. | String (20)ProjId | No | Yes | ProjTable.ProjId | PurchReqTable.ProjId |
IsPurchaseRequisitionOnHoldYes/No flag showing that the requisition is on hold. | EnumPurchReqHoldStatus
| No | Yes | PurchReqTable.OnHold | |
OnHoldExplanationText that explains why the requisition is on hold. | String (566)PurchReqHoldExplanation | No | Yes | PurchReqTable.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.
PreparerRecId→HcmWorker.RecId(key of HcmWorker)Many PurchReqTable records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
DefaultBusinessJustificationRecId→PurchReqBusinessJustificationCodes.RecId(key of PurchReqBusinessJustificationCodes)Many PurchReqTable records → zero or one PurchReqBusinessJustificationCodes record
PurchReqBusinessJustificationCodes details: see PurchPurchaseRequisitionBusinessJustificationEntity, PurchaseRequisitionLineCDSEntity, PurchaseRequisitionLineCDSV2Entity
ProjectBuyingLegalEntityRecId→CompanyInfo.RecId(key of CompanyInfo)Many PurchReqTable records → zero or one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
DefaultProjectId→ProjTable.ProjId(key of ProjTable)Join on all of:
DefaultProjectId=ProjTable.ProjId,ProjIdDataArea(table field, not in this entity) =ProjTable.dataAreaIdMany PurchReqTable records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
Need help with PurchaseRequisitionHeaderV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.