Table

PurchReqTable

Purchase requisitions

Holds one row per purchase requisition header, identified by the requisition number (PurchReqId). It records who prepared and submitted it, its status, type and purpose, requested date, and any hold or project link. It links to the buying legal entity, a business justification code and a source document header.

Table name
PurchReqTable
Module
Procurement and sourcing
Table group
WorksheetHeader
Table type
Regular
Data per company
No
Configuration key
PurchReq
Primary index
RecId
Replacement key
PurchReqIdx
Key fields
PurchReqId
Model
Foundation

Fields (29)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchReqIdPurchase requisition number; the key of the table.String (25)
PurchReqId
YesPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqApprovalHeaderEntityand 11 more
BusinessJustificationRecord ID of the business justification code chosen as the reason for the requisition.Int64
BusinessJustificationRefRecId
NoPurchReqBusinessJustificationCodes.RecIdPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqTableBiEntity
CompanyInfoDefaultRecord ID of the buying legal entity for the requisition.Int64
RefRecId
NoCompanyInfo.RecIdPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqTableBiEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoPurchReqTableBiEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoPurchReqTableBiEntity
HoldExplanationText that explains why the requisition is on hold.String (566)
PurchReqHoldExplanation
NoPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqTableBiEntity
IsModifiedYes/No flag showing that the requisition has been changed.Enum
VersioningIsModified
NoYes (enum)
NoPurchReqTableBiEntity
IsWorkflowToBeResubmittedYes/No flag showing that the workflow needs to be submitted again.Enum
NoYesId
NoYes (enum)
NoPurchReqTableBiEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoPurchReqTableBiEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoPurchReqTableBiEntity
OnHoldYes/No flag showing that the requisition is on hold.Enum
PurchReqHoldStatus
NoYes (enum)
NoPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqTableBiEntity
OriginatorRecord ID of the worker who prepared the requisition.Int64
PurchReqPreparerRefRecId
YesHcmWorker.RecIdPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqTableBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjIdProject ID linked to the requisition.String (20)
ProjId
NoProjTable.ProjIdPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqTableBiEntity
ProjIdDataAreaCompany of the linked project; used with the project ID.String
DataAreaId
NoProjTable.dataAreaIdPurchReqTableBiEntity
PurchReqNameName given to the requisition.String (60)
PurchReqName
YesPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqApprovalHeaderEntityand 2 more
PurchReqTypeType of requisition: general purchase or project.Enum
PurchReqType (enum)
NoPurchReqTableBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoPurchReqApprovalHeaderEntityPurchReqTableBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoPurchReqTableBiEntity
RequiredDateDate by which the requisition items are requested.Date
PurchReqRequiredDate
NoPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqTableBiEntity
RequisitionPurposePurpose of the requisition: consumption or replenishment.Enum
RequisitionPurpose (enum)
NoPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqTableBiEntity
RequisitionStatusStatus of the requisition, such as draft, in review, approved, rejected, cancelled, closed or budget reserved.Enum
PurchReqRequisitionStatus (enum)
NoPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqTableBiEntity
SourceDocumentHeaderRecord ID of the source document header linked to the requisition.Int64
RefRecId
NoSourceDocumentHeader.RecIdPurchReqTableBiEntity
SubmittedByUser who submitted the requisition.String
PurchReqSubmittedBy
NoPurchReqTableBiEntity
SubmittedDateTimeDate and time when the requisition was submitted.UtcDateTime
PurchReqSubmittedDateTime
NoPurchReqTableBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateAccounting date of the requisition.Date
PurchReqAccountingDate
NoPurchaseRequisitionHeaderV2EntityUbuyPurchaseRequisitionHeaderEntityPurchReqTableBiEntity
UbuyOrderProgressStatusProgress of the order from requisition created through purchase order stages to received and invoiced.Enum
UbuyOrderProgressStatus (enum)
NoUbuyPurchaseRequisitionHeaderEntity

Indexes (3)

Relations (7)

Each relation joins PurchReqTable to another table on the fields shown.

  • CompanyInfoDefault → CompanyInfo

    Join on CompanyInfoDefault = CompanyInfo.RecId

    Many PurchReqTable records → zero or one CompanyInfo record

  • Originator → HcmWorker

    Join on Originator = HcmWorker.RecId

    Many PurchReqTable records → exactly one HcmWorker record

  • ProjTable → ProjTable

    Join on ProjIdDataArea = ProjTable.dataAreaId, ProjId = ProjTable.ProjId

    Many PurchReqTable records → zero or one ProjTable record

  • PurchReqBusinessJustificationCodes → PurchReqBusinessJustificationCodes

    Join on BusinessJustification = PurchReqBusinessJustificationCodes.RecId

    Many PurchReqTable records → zero or one PurchReqBusinessJustificationCodes record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many PurchReqTable records → zero or one SourceDocumentHeader record

  • SubmittedBy → UserInfo

    Join on SubmittedBy = UserInfo.id

    Many PurchReqTable records → zero or one UserInfo record

  • PurchReqId → PurchReqTable

    Join on PurchReqId = PurchReqTable.PurchReqId

    Cardinality not set in the metadata.

Get this data out

Tables are not exposed directly. These public entities read from PurchReqTable; use one of them in Power BI, Power Platform or a data management project.

Need help with PurchReqTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk