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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PurchaseOrderIdPurchase order number. It has no relation in the metadata. | String (20)PurchaseOrderId | No | None | |
PurchIdPurchase order number, pointing to the purchase order request and the purchase order. | String (20)PurchId | No | CatCXMLPurchRequest.PurchIdPurchTable.PurchId | None |
PurchOrderDocNumAnother purchase order number field. The metadata does not say how it differs from the other purchase order fields.low confidence | String (20)PurchaseOrderId | No | None | |
PurchReqDateTimeDate and time of the request. | UtcDateTimePurchReqDateTime | No | None | |
PurchReqMessageTypeType of request message: new, update or delete. | EnumPurchReqMessageType (enum) | No | None | |
PurchReqResubmitCountNumber of times the request has been sent again. | IntegerPurchReqResubmitCount | No | None | |
PurchReqSendStatusSend status of the order request: waiting, sent, stopped or archived. | EnumPurchReqSendStatus (enum) | No | None | |
PurchReqStatusChangedDateTimeDate and time when the order status last changed. | UtcDateTimePurchReqStatusChangedDateTime | No | None | |
PurchRequestXMLFull text of the order request sent, held as XML. | String (-1)PurchRequestXML | No | None | |
PurchReqVendStatusVendor response status of the request: waiting, acknowledged or error. | EnumPurchReqVendStatus (enum) | No | None | |
PurchResponseXMLFull text of the response received, held as XML. | String (-1)PurchResponseXML | No | None | |
PurchResubmitDateTimeDate and time when the request was sent again. | UtcDateTimePurchResubmitDateTime | No | None | |
PurchTableVersionRecord ID reference. The name suggests a version of the purchase order, but no relation is given.low confidence | Int64RefRecId | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UserIDID of the user who last updated the record. | StringUserID | No | None | |
VendorDataAreaidCompany (legal entity) in which the vendor is held. | StringDataAreaId | No | None | |
VendPurchOrderJourReference to the purchase order confirmation record. | Int64RefRecId | No | VendPurchOrderJour.RecId | None |
Indexes (3)
PurchIdIdxNot unique.
VersionIdxNot unique.
PurchTimeIdxPurchId,PurchReqStatusChangedDateTimeNot unique.
Relations (4)
Each relation joins CatCXMLPurchRequestHistory to another table on the fields shown.
PurchRequest→CatCXMLPurchRequestJoin on
PurchId = CatCXMLPurchRequest.PurchIdCardinality not set in the metadata.
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdCardinality not set in the metadata.
UserInfo→UserInfoJoin on
userID = UserInfo.IdCardinality not set in the metadata.
VendPurchOrderJour→VendPurchOrderJourJoin on
VendPurchOrderJour = VendPurchOrderJour.RecIdCardinality 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.