Table

CatCXMLPurchRequestHistory

Purchase order request history

Keeps a history of purchase order requests, with one row per request event. Each row stores the request XML, the response XML, the type of request, status values and resubmit details. It links to the purchase order request, the purchase order, the user and the purchase order confirmation.

Table name
CatCXMLPurchRequestHistory
Module
Procurement and sourcing
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
ProcCatalog
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchaseOrderIdPurchase order number. It has no relation in the metadata.String (20)
PurchaseOrderId
NoNone
PurchIdPurchase order number, pointing to the purchase order request and the purchase order.String (20)
PurchId
NoCatCXMLPurchRequest.PurchIdPurchTable.PurchIdNone
PurchOrderDocNumAnother purchase order number field. The metadata does not say how it differs from the other purchase order fields.low confidenceString (20)
PurchaseOrderId
NoNone
PurchReqDateTimeDate and time of the request.UtcDateTime
PurchReqDateTime
NoNone
PurchReqMessageTypeType of request message: new, update or delete.Enum
PurchReqMessageType (enum)
NoNone
PurchReqResubmitCountNumber of times the request has been sent again.Integer
PurchReqResubmitCount
NoNone
PurchReqSendStatusSend status of the order request: waiting, sent, stopped or archived.Enum
PurchReqSendStatus (enum)
NoNone
PurchReqStatusChangedDateTimeDate and time when the order status last changed.UtcDateTime
PurchReqStatusChangedDateTime
NoNone
PurchRequestXMLFull text of the order request sent, held as XML.String (-1)
PurchRequestXML
NoNone
PurchReqVendStatusVendor response status of the request: waiting, acknowledged or error.Enum
PurchReqVendStatus (enum)
NoNone
PurchResponseXMLFull text of the response received, held as XML.String (-1)
PurchResponseXML
NoNone
PurchResubmitDateTimeDate and time when the request was sent again.UtcDateTime
PurchResubmitDateTime
NoNone
PurchTableVersionRecord ID reference. The name suggests a version of the purchase order, but no relation is given.low confidenceInt64
RefRecId
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UserIDID of the user who last updated the record.String
UserID
NoNone
VendorDataAreaidCompany (legal entity) in which the vendor is held.String
DataAreaId
NoNone
VendPurchOrderJourReference to the purchase order confirmation record.Int64
RefRecId
NoVendPurchOrderJour.RecIdNone

Indexes (3)

Relations (4)

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

  • PurchRequest → CatCXMLPurchRequest

    Join on PurchId = CatCXMLPurchRequest.PurchId

    Cardinality not set in the metadata.

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Cardinality not set in the metadata.

  • UserInfo → UserInfo

    Join on userID = UserInfo.Id

    Cardinality not set in the metadata.

  • VendPurchOrderJour → VendPurchOrderJour

    Join on VendPurchOrderJour = VendPurchOrderJour.RecId

    Cardinality not set in the metadata.

Get this data out

No public entity reads from CatCXMLPurchRequestHistory. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk