Table

PurchaseOrderResponseHeaderHistory

Purchase order response history

Keeps earlier versions of purchase order response headers. Each row is valid for a period (ValidFrom to ValidTo) and links to the current response header. It stores the same order, vendor, delivery and payment details as the response header.

Table name
PurchaseOrderResponseHeaderHistory
Module
Procurement and sourcing
Table group
TransactionHeader
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
None
Replacement key
PurchaseOrderResponseHeaderIdx
Key fields
PurchaseOrderResponseHeader, ValidFrom, ValidTo
Model
Foundation

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchaseOrderResponseHeaderPoints to the purchase order response header that this history row belongs to.Int64
PurchaseOrderResponseHeaderRecId
YesPurchaseOrderResponseHeader.RecIdNone
ValidFromDate and time when this history row started being valid.UtcDateTime
ValidFromDateTime
NoNone
ValidToDate and time when this history row stopped being valid.UtcDateTime
ValidToDateTime
NoNone
ConfirmedDlvReceipt date that the vendor confirmed.Date
PurchTableConfirmedReceiptDate
NoPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntity
ConsumptionStateShows whether the purchase order has been updated from this response: no, yes or manual update.Enum
ConsumptionState (enum)
NoPurchaseOrderResponseHeaderEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency code used on the response. It points to a currency record.String (3)
VendCurrencyCode
YesCurrency.CurrencyCodeVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryPostalAddressLinks to the postal address used for delivery.Int64
LogisticsPostalAddressRecId
NoNone
DiscPercentDiscount percentage for the whole order header.Real
PurchEndDiscPct
NoVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntity
DlvModeCode of the mode of delivery for the order.String
VendDlvModeId
NoVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntity
DlvTermDelivery terms for the order. It points to a delivery term record.String
VendDlvTermId
NoDlvTerm.CodeVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntity
DocumentDateDate of the response document.Date
TransDate
YesPurchaseOrderResponseHeaderEntity
EarliestConfirmedDlvDateEarliest receipt date that the vendor confirmed.Date
PurchTableConfirmedReceiptEarliestDate
NoVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntity
EarliestDlvDateEarliest receipt date that was requested.Date
PurchTableRequestedReceiptEarliestDate
NoVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntity
InvoiceAccountVendor account that receives the invoice.String (20)
VendInvoiceAccount
YesVendTable.AccountNumVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityPurchaseOrderResponseLineEntityand 1 more
OrderAccountAccount of the vendor that the order is placed with.String (20)
VendAccount
YesVendTable.AccountNumVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityPurchaseOrderResponseLineEntityand 1 more
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.PaymTermIdVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntity
PaymModeThe method of payment for the vendor. It points to a vendor payment method.String
VendPaymMode
NoVendPaymModeTable.PaymModeVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntity
PurchIdThe purchase order that the response relates to.String (20)
PurchIdBase
YesVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityPurchaseOrderResponseLineEntityand 1 more
PurchStatusStatus of the purchase order, such as open order, received, invoiced or cancelled.Enum
PurchStatus (enum)
NoVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntityVRMPurchaseOrderResponseHeaderHistoryAttachmentEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ResponseIdID of the purchase order response.String (20)
PurchaseOrderResponseId
NoVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendorRefThe vendor's own reference text for the order.String (60)
VendRef
NoVRMPurchaseOrderResponseArchivedOriginalOrderHeaderEntityPurchaseOrderResponseHeaderEntityVRMPurchaseOrderResponseArchivedHeaderEntity

Indexes (1)

Relations (8)

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

  • VendPaymModeTable → VendPaymModeTable

    Join on PaymMode = VendPaymModeTable.PaymMode

    Many PurchaseOrderResponseHeaderHistory records → zero or one VendPaymModeTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PurchaseOrderResponseHeaderHistory records → exactly one Currency record

  • OrderVendor → VendTable

    Join on OrderAccount = VendTable.AccountNum

    Many PurchaseOrderResponseHeaderHistory records → exactly one VendTable record

  • InvoiceVendor → VendTable

    Join on InvoiceAccount = VendTable.AccountNum

    Many PurchaseOrderResponseHeaderHistory records → exactly one VendTable record

  • DlvTerm → DlvTerm

    Join on DlvTerm = DlvTerm.Code

    Many PurchaseOrderResponseHeaderHistory records → zero or one DlvTerm record

  • PaymTerm → PaymTerm

    Join on Payment = PaymTerm.PaymTermId

    Many PurchaseOrderResponseHeaderHistory records → zero or one PaymTerm record

  • LogisticsPostalAddressBaseEntity → LogisticsPostalAddressBaseEntity

    Join on DeliveryPostalAddress = LogisticsPostalAddressBaseEntity.AddressRecId

    Many PurchaseOrderResponseHeaderHistory records → zero or one LogisticsPostalAddressBaseEntity record

  • PurchaseOrderResponseHeader → PurchaseOrderResponseHeader

    Join on PurchaseOrderResponseHeader = PurchaseOrderResponseHeader.RecId

    Many PurchaseOrderResponseHeaderHistory records → exactly one PurchaseOrderResponseHeader record

Get this data out

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

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

Email sales@drdynamics.co.uk