Table

PurchaseOrderResponseLineHistory

Purchase order response line history

Keeps earlier versions of purchase order response lines. Each row is valid for a period (ValidFrom to ValidTo) and links to the response line, the response header and the header history. It holds the same item, quantity, price and status details as the response line.

Table name
PurchaseOrderResponseLineHistory
Module
Procurement and sourcing
Table group
TransactionLine
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
None
Replacement key
PurchaseOrderResponseLineIdx
Key fields
PurchaseOrderResponseLine, ValidFrom, ValidTo
Model
Foundation

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchaseOrderResponseLinePoints to the response line that this history row belongs to.Int64
PurchaseOrderResponseLineRecId
YesPurchaseOrderResponseLine.RecIdPurchaseOrderResponseLineEntity
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 for the line.Date
PurchLineConfirmedReceiptDate
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
ConsumptionStateShows whether the purchase order line has been updated from this response: no, yes or manual update.Enum
ConsumptionState (enum)
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveringShows whether the line is delivering, with values No or Yes.Enum
PurchaseOrderResponseLineDelivering
NoYesCombo (enum)
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntity
DeliveryDateReceipt date that was requested for the line.Date
PurchLineRequestedReceiptDate
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
DeliveryPostalAddressLinks to the postal address used for delivery of the line.Int64
LogisticsPostalAddressRecId
NoNone
ExternalItemIdThe item number used by the vendor.String (20)
PurchExternalItemId
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
InventDimIdNumber of the inventory dimension combination for the line. It points to an inventory dimension record.String (20)
InventDimId
NoInventDim.inventDimIdNone
ItemIdItem number. It points to an item record.String (20)
ItemIdSmall
NoInventTable.ItemIdVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
LineAmountNet amount of the line.Real
PurchLineAmount
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
LineDiscDiscount amount on the line.Real
PurchLineDisc
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
LineNumberNumber of the line within the response.Int64
TradeLineNumber
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
LinePercentDiscount percentage on the line.Real
PurchLinePercent
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
LineStateStatus of the response line, such as accepted, rejected, substituted or split into a schedule.Enum
PurchaseOrderResponseLineState (enum)
NoVRMPurchaseOrderResponseArchivedLineEntityPurchaseOrderResponseLineEntity
NameFree text describing the line.String (1000)
ItemFreeTxt
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceUnitNumber of units that the price applies to.Real
PriceUnit
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
ProcurementCategoryPoints to the procurement category of the line.Int64
PurchCategory
NoEcoResCategory.RecIdNone
PurchaseOrderResponseHeaderPoints to the current purchase order response header.Int64
PurchaseOrderResponseHeaderRecId
YesPurchaseOrderResponseHeader.RecIdNone
PurchaseOrderResponseHeaderHistoryPoints to the response header history row that this line history belongs to.Int64
PurchaseOrderResponseHeaderHistoryRecId
YesPurchaseOrderResponseHeaderHistory.RecIdNone
PurchLinePoints to the original purchase order line.Int64
PurchLineRefRecId
NoPurchLine.RecIdNone
PurchPriceUnit price on the line.Real
PurchPrice
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
PurchQtyQuantity ordered on the line.Real
PurchOrderedQty
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
PurchUnitUnit of measure for the line. It points to a unit record.String
PurchUnit
NoUnitOfMeasure.SymbolVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoVRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityVRMPurchaseOrderResponseLineHistoryAttachmentEntity
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

Indexes (2)

Relations (9)

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

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many PurchaseOrderResponseLineHistory records → zero or one InventTable record

  • ProcurementCategory → EcoResCategory

    Join on ProcurementCategory = EcoResCategory.RecId

    Many PurchaseOrderResponseLineHistory records → zero or one EcoResCategory record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many PurchaseOrderResponseLineHistory records → zero or one InventDim record

  • PurchUnit → UnitOfMeasure

    Join on PurchUnit = UnitOfMeasure.Symbol

    Many PurchaseOrderResponseLineHistory records → zero or one UnitOfMeasure record

  • LogisticsPostalAddressBaseEntity → LogisticsPostalAddressBaseEntity

    Join on DeliveryPostalAddress = LogisticsPostalAddressBaseEntity.AddressRecId

    Many PurchaseOrderResponseLineHistory records → zero or one LogisticsPostalAddressBaseEntity record

  • PurchaseOrderResponseLine → PurchaseOrderResponseLine

    Join on PurchaseOrderResponseLine = PurchaseOrderResponseLine.RecId

    Many PurchaseOrderResponseLineHistory records → exactly one PurchaseOrderResponseLine record

  • PurchLine → PurchLine

    Join on PurchLine = PurchLine.RecId

    Zero or one PurchaseOrderResponseLineHistory record → exactly one PurchLine record

  • PurchaseOrderResponseHeaderHistory → PurchaseOrderResponseHeaderHistory

    Join on PurchaseOrderResponseHeaderHistory = PurchaseOrderResponseHeaderHistory.RecId

    Many PurchaseOrderResponseLineHistory records → exactly one PurchaseOrderResponseHeaderHistory record

  • PurchaseOrderResponseHeader → PurchaseOrderResponseHeader

    Join on PurchaseOrderResponseHeader = PurchaseOrderResponseHeader.RecId

    Many PurchaseOrderResponseLineHistory records → exactly one PurchaseOrderResponseHeader record

Get this data out

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

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

Email sales@drdynamics.co.uk