Table
PurchaseOrderResponseHeader
Purchase order response
Holds the header of a vendor's response to a purchase order. Each response has a response ID and links to the purchase order and the vendor account. It also stores delivery, payment and currency details, and whether the purchase order has been updated from the response.
- Table name
PurchaseOrderResponseHeader- Module
Procurement and sourcing- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
ResponseIdx- Replacement key
ResponseIdx- Key fields
ResponseId- Model
Foundation
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ResponseIdUnique ID of the purchase order response. It is the key of the table. | String (20)PurchaseOrderResponseId | No | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntityVRMPurchaseOrderResponseHeaderAttachmentEntityand 2 more | |
ConfirmedDlvReceipt date that the vendor confirmed. | DatePurchTableConfirmedReceiptDate | No | VRMPurchaseOrderResponseHeaderEntity | |
ConsumptionStateShows whether the purchase order has been updated from this response: no, yes or manual update. | EnumConsumptionState (enum) | No | VRMPurchaseOrderResponseHeaderEntity | |
CurrencyCodeCurrency code used on the response. It points to a currency record. | String (3)VendCurrencyCode | Yes | Currency.CurrencyCode | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntityVRMPurchaseOrderActiveEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryPostalAddressPoints to the postal address record used for delivery. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
DiscPercentDiscount percentage for the whole order header. | RealPurchEndDiscPct | No | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity | |
DlvModeCode of the mode of delivery for the order. | StringVendDlvModeId | No | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity | |
DlvTermCode of the delivery terms for the order. | StringVendDlvTermId | No | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity | |
DocumentDateDate of the response document. | DateTransDate | Yes | VRMPurchaseOrderResponseHeaderEntity | |
EarliestConfirmedDlvDateEarliest receipt date that the vendor confirmed. | DatePurchTableConfirmedReceiptEarliestDate | No | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity | |
EarliestDlvDateEarliest receipt date that was requested. | DatePurchTableRequestedReceiptEarliestDate | No | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntityVRMPurchaseOrderActiveEntity | |
InvoiceAccountVendor account that receives the invoice. | String (20)VendInvoiceAccount | Yes | VendTable.AccountNum | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity |
OrderAccountAccount of the vendor that the order is placed with. | String (20)VendAccount | Yes | VendTable.AccountNum | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentTerms of payment for the order. It points to a payment term. | String (100)VendPaymTermId | No | PaymTerm.PaymTermId | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity |
PaymModeThe method of payment for the vendor. It points to a vendor payment method. | StringVendPaymMode | No | VendPaymModeTable.PaymMode | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity |
PurchIdThe purchase order that this response answers. | String (20)PurchIdVendor | Yes | PurchTable.PurchId | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntityVRMPurchaseOrderResponseLineEntityand 1 more |
PurchStatusStatus of the purchase order, such as open order, received, invoiced or cancelled. | EnumPurchStatus (enum) | No | VRMPurchaseOrderResponseOriginalOrderHeaderEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderActiveEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VendorRefThe vendor's own reference text for the order. | String (60)VendRef | No | VRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity |
Indexes (2)
ResponseIdxPrimary indexReplacement keyUnique, alternate key.
PurchIdxUnique, alternate key.
Relations (7)
Each relation joins PurchaseOrderResponseHeader to another table on the fields shown.
VendPaymModeTable→VendPaymModeTableJoin on
PaymMode = VendPaymModeTable.PaymModeMany PurchaseOrderResponseHeader records → zero or one VendPaymModeTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany PurchaseOrderResponseHeader records → exactly one Currency record
OrderVendor→VendTableJoin on
OrderAccount = VendTable.AccountNumMany PurchaseOrderResponseHeader records → exactly one VendTable record
InvoiceVendor→VendTableJoin on
InvoiceAccount = VendTable.AccountNumMany PurchaseOrderResponseHeader records → exactly one VendTable record
PaymTerm→PaymTermJoin on
Payment = PaymTerm.PaymTermIdMany PurchaseOrderResponseHeader records → zero or one PaymTerm record
PurchTable→PurchTableJoin on
PurchId = PurchTable.PurchIdZero or one PurchaseOrderResponseHeader record → exactly one PurchTable record
LogisticsPostalAddress→LogisticsPostalAddressJoin on
DeliveryPostalAddress = LogisticsPostalAddress.RecIdMany PurchaseOrderResponseHeader records → exactly one LogisticsPostalAddress record
Get this data out
Tables are not exposed directly. These public entities read from PurchaseOrderResponseHeader; use one of them in Power BI, Power Platform or a data management project.
VRMPurchaseOrderResponseHeaderEntity· 17 fields from this tableVRMPurchaseOrderResponseOriginalOrderHeaderEntity· 14 fields from this tableVRMPurchaseOrderResponseHeaderAttachmentEntity· 1 field from this tableVRMPurchaseOrderResponseLineAttachmentEntity· 1 field from this tableVRMPurchaseOrderResponseLineEntity· 1 field from this tableVRMPurchaseOrderActiveEntity· 4 fields from this tableVRMPurchaseOrderResponseOriginalOrderLineEntity· 1 field from this table
Need help with PurchaseOrderResponseHeader in a report, an integration or a migration? Talk to Dr Dynamics.