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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ResponseIdUnique ID of the purchase order response. It is the key of the table.String (20)
PurchaseOrderResponseId
NoVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntityVRMPurchaseOrderResponseHeaderAttachmentEntityand 2 more
ConfirmedDlvReceipt date that the vendor confirmed.Date
PurchTableConfirmedReceiptDate
NoVRMPurchaseOrderResponseHeaderEntity
ConsumptionStateShows whether the purchase order has been updated from this response: no, yes or manual update.Enum
ConsumptionState (enum)
NoVRMPurchaseOrderResponseHeaderEntity
CurrencyCodeCurrency code used on the response. It points to a currency record.String (3)
VendCurrencyCode
YesCurrency.CurrencyCodeVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntityVRMPurchaseOrderActiveEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryPostalAddressPoints to the postal address record used for delivery.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
DiscPercentDiscount percentage for the whole order header.Real
PurchEndDiscPct
NoVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity
DlvModeCode of the mode of delivery for the order.String
VendDlvModeId
NoVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity
DlvTermCode of the delivery terms for the order.String
VendDlvTermId
NoVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity
DocumentDateDate of the response document.Date
TransDate
YesVRMPurchaseOrderResponseHeaderEntity
EarliestConfirmedDlvDateEarliest receipt date that the vendor confirmed.Date
PurchTableConfirmedReceiptEarliestDate
NoVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity
EarliestDlvDateEarliest receipt date that was requested.Date
PurchTableRequestedReceiptEarliestDate
NoVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntityVRMPurchaseOrderActiveEntity
InvoiceAccountVendor account that receives the invoice.String (20)
VendInvoiceAccount
YesVendTable.AccountNumVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity
OrderAccountAccount of the vendor that the order is placed with.String (20)
VendAccount
YesVendTable.AccountNumVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentTerms of payment for the order. It points to a payment term.String (100)
VendPaymTermId
NoPaymTerm.PaymTermIdVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity
PaymModeThe method of payment for the vendor. It points to a vendor payment method.String
VendPaymMode
NoVendPaymModeTable.PaymModeVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity
PurchIdThe purchase order that this response answers.String (20)
PurchIdVendor
YesPurchTable.PurchIdVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntityVRMPurchaseOrderResponseLineEntityand 1 more
PurchStatusStatus of the purchase order, such as open order, received, invoiced or cancelled.Enum
PurchStatus (enum)
NoVRMPurchaseOrderResponseOriginalOrderHeaderEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderActiveEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
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
VendorRefThe vendor's own reference text for the order.String (60)
VendRef
NoVRMPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseOriginalOrderHeaderEntity

Indexes (2)

  • ResponseIdxPrimary indexReplacement key

    ResponseId

    Unique, alternate key.

  • PurchIdx

    PurchId

    Unique, alternate key.

Relations (7)

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

  • VendPaymModeTable → VendPaymModeTable

    Join on PaymMode = VendPaymModeTable.PaymMode

    Many PurchaseOrderResponseHeader records → zero or one VendPaymModeTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PurchaseOrderResponseHeader records → exactly one Currency record

  • OrderVendor → VendTable

    Join on OrderAccount = VendTable.AccountNum

    Many PurchaseOrderResponseHeader records → exactly one VendTable record

  • InvoiceVendor → VendTable

    Join on InvoiceAccount = VendTable.AccountNum

    Many PurchaseOrderResponseHeader records → exactly one VendTable record

  • PaymTerm → PaymTerm

    Join on Payment = PaymTerm.PaymTermId

    Many PurchaseOrderResponseHeader records → zero or one PaymTerm record

  • PurchTable → PurchTable

    Join on PurchId = PurchTable.PurchId

    Zero or one PurchaseOrderResponseHeader record → exactly one PurchTable record

  • LogisticsPostalAddress → LogisticsPostalAddress

    Join on DeliveryPostalAddress = LogisticsPostalAddress.RecId

    Many 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.

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

Email sales@drdynamics.co.uk