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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchaseOrderResponseLinePoints to the response line that this history row belongs to. | Int64PurchaseOrderResponseLineRecId | Yes | PurchaseOrderResponseLine.RecId | PurchaseOrderResponseLineEntity |
ValidFromDate and time when this history row started being valid. | UtcDateTimeValidFromDateTime | No | None | |
ValidToDate and time when this history row stopped being valid. | UtcDateTimeValidToDateTime | No | None | |
ConfirmedDlvReceipt date that the vendor confirmed for the line. | DatePurchLineConfirmedReceiptDate | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
ConsumptionStateShows whether the purchase order line has been updated from this response: no, yes or manual update. | EnumConsumptionState (enum) | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
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 | |
DeliveringShows whether the line is delivering, with values No or Yes. | EnumPurchaseOrderResponseLineDeliveringNoYesCombo (enum) | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntity | |
DeliveryDateReceipt date that was requested for the line. | DatePurchLineRequestedReceiptDate | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
DeliveryPostalAddressLinks to the postal address used for delivery of the line. | Int64LogisticsPostalAddressRecId | No | None | |
ExternalItemIdThe item number used by the vendor. | String (20)PurchExternalItemId | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
InventDimIdNumber of the inventory dimension combination for the line. It points to an inventory dimension record. | String (20)InventDimId | No | InventDim.inventDimId | None |
ItemIdItem number. It points to an item record. | String (20)ItemIdSmall | No | InventTable.ItemId | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity |
LineAmountNet amount of the line. | RealPurchLineAmount | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
LineDiscDiscount amount on the line. | RealPurchLineDisc | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
LineNumberNumber of the line within the response. | Int64TradeLineNumber | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
LinePercentDiscount percentage on the line. | RealPurchLinePercent | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
LineStateStatus of the response line, such as accepted, rejected, substituted or split into a schedule. | EnumPurchaseOrderResponseLineState (enum) | No | VRMPurchaseOrderResponseArchivedLineEntityPurchaseOrderResponseLineEntity | |
NameFree text describing the line. | String (1000)ItemFreeTxt | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceUnitNumber of units that the price applies to. | RealPriceUnit | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
ProcurementCategoryPoints to the procurement category of the line. | Int64PurchCategory | No | EcoResCategory.RecId | None |
PurchaseOrderResponseHeaderPoints to the current purchase order response header. | Int64PurchaseOrderResponseHeaderRecId | Yes | PurchaseOrderResponseHeader.RecId | None |
PurchaseOrderResponseHeaderHistoryPoints to the response header history row that this line history belongs to. | Int64PurchaseOrderResponseHeaderHistoryRecId | Yes | PurchaseOrderResponseHeaderHistory.RecId | None |
PurchLinePoints to the original purchase order line. | Int64PurchLineRefRecId | No | PurchLine.RecId | None |
PurchPriceUnit price on the line. | RealPurchPrice | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
PurchQtyQuantity ordered on the line. | RealPurchOrderedQty | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity | |
PurchUnitUnit of measure for the line. It points to a unit record. | StringPurchUnit | No | UnitOfMeasure.Symbol | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityPurchaseOrderResponseLineEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | VRMPurchaseOrderResponseArchivedLineEntityVRMPurchaseOrderResponseArchivedOriginalOrderLineEntityVRMPurchaseOrderResponseLineHistoryAttachmentEntity | |
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 |
Indexes (2)
PurchaseOrderResponseLineIdxReplacement keyPurchaseOrderResponseLine,ValidFrom,ValidToUnique, alternate key.
PurchaseOrderResponseHeaderHistoryPurchaseOrderResponseHeaderHistoryNot unique.
Relations (9)
Each relation joins PurchaseOrderResponseLineHistory to another table on the fields shown.
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany PurchaseOrderResponseLineHistory records → zero or one InventTable record
ProcurementCategory→EcoResCategoryJoin on
ProcurementCategory = EcoResCategory.RecIdMany PurchaseOrderResponseLineHistory records → zero or one EcoResCategory record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany PurchaseOrderResponseLineHistory records → zero or one InventDim record
PurchUnit→UnitOfMeasureJoin on
PurchUnit = UnitOfMeasure.SymbolMany PurchaseOrderResponseLineHistory records → zero or one UnitOfMeasure record
LogisticsPostalAddressBaseEntity→LogisticsPostalAddressBaseEntityJoin on
DeliveryPostalAddress = LogisticsPostalAddressBaseEntity.AddressRecIdMany PurchaseOrderResponseLineHistory records → zero or one LogisticsPostalAddressBaseEntity record
PurchaseOrderResponseLine→PurchaseOrderResponseLineJoin on
PurchaseOrderResponseLine = PurchaseOrderResponseLine.RecIdMany PurchaseOrderResponseLineHistory records → exactly one PurchaseOrderResponseLine record
PurchLine→PurchLineJoin on
PurchLine = PurchLine.RecIdZero or one PurchaseOrderResponseLineHistory record → exactly one PurchLine record
PurchaseOrderResponseHeaderHistory→PurchaseOrderResponseHeaderHistoryJoin on
PurchaseOrderResponseHeaderHistory = PurchaseOrderResponseHeaderHistory.RecIdMany PurchaseOrderResponseLineHistory records → exactly one PurchaseOrderResponseHeaderHistory record
PurchaseOrderResponseHeader→PurchaseOrderResponseHeaderJoin on
PurchaseOrderResponseHeader = PurchaseOrderResponseHeader.RecIdMany 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.
VRMPurchaseOrderResponseArchivedLineEntity· 17 fields from this tableVRMPurchaseOrderResponseArchivedOriginalOrderLineEntity· 16 fields from this tablePurchaseOrderResponseLineEntity· 16 fields from this tableVRMPurchaseOrderResponseLineHistoryAttachmentEntity· 1 field from this table
Need help with PurchaseOrderResponseLineHistory in a report, an integration or a migration? Talk to Dr Dynamics.