Data entity
UbuyPurchaseRequisitionHeaderEntity
Headers of purchase requisitions used in Ubiquitous Buying, one record per requisition number. It holds the name, preparer, status, purpose, requested and accounting dates, business justification, buying legal entity, project ID, hold flag and order progress.
- Entity name
UbuyPurchaseRequisitionHeaderEntity- Public entity name
UbuyPurchaseRequisitionHeader- OData collection
UbuyPurchaseRequisitionHeaders- Category
Document- Module
Procurement and sourcing- Read-only
No- Data management enabled
No- Configuration key
PurchReq- Keys
RequisitionNumber- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/UbuyPurchaseRequisitionHeaders- Dataverse virtual table
mserp_ubuypurchaserequisitionheaderentity. 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· rootCompanyInfoDefault(tableCompanyInfo) · OuterJoin toPurchReqTable· read-onlyOriginator(tableHcmWorker) · OuterJoin toPurchReqTable· read-onlyPurchReqBusinessJustificationCodes· OuterJoin toPurchReqTable· read-onlyPurchReqBusJustification· OuterJoin toPurchReqTable
Fields (17)
| 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 | |
UbuyOrderProgressStatusProgress of the order from requisition created through purchase order stages to received and invoiced. | Enum
| No | Yes | PurchReqTable.UbuyOrderProgressStatus |
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, PurchaseRequisitionHeaderV2Entity, PurchaseRequisitionLineCDSEntity
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 UbuyPurchaseRequisitionHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.