Table
PurchDeliveryScheduleHistory
Purchase delivery schedule history
Keeps earlier versions of purchase delivery schedule records. Each version has a start and an end date and time, and refers to a delivery schedule and a purchase order line.
- Table name
PurchDeliveryScheduleHistory- Module
Procurement and sourcing- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
PurchDeliveryScheduleIdx- Key fields
PurchDeliverySchedule, ValidTo, ValidFrom- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchDeliveryScheduleSystem record ID of the delivery schedule that this history belongs to. | Int64RefRecId | Yes | PurchDeliverySchedule.RecId | None |
ValidToDate and time until which this version applied. | UtcDateTimeValidToDateTime | Yes | None | |
ValidFromDate and time from which this version applied. | UtcDateTimeValidFromDateTime | Yes | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
OrderLineLot ID of the purchase order line for this history record. | String (20)TradeInventTransId | Yes | PurchLine.InventTransId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
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 (1)
PurchDeliveryScheduleIdxReplacement keyPurchDeliverySchedule,ValidTo,ValidFromUnique, alternate key.
Relations (2)
Each relation joins PurchDeliveryScheduleHistory to another table on the fields shown.
OrderLine→PurchLineJoin on
OrderLine = PurchLine.InventTransIdMany PurchDeliveryScheduleHistory records → exactly one PurchLine record
PurchDeliverySchedule→PurchDeliveryScheduleJoin on
PurchDeliverySchedule = PurchDeliverySchedule.RecIdMany PurchDeliveryScheduleHistory records → exactly one PurchDeliverySchedule record
Get this data out
No public entity reads from PurchDeliveryScheduleHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchDeliveryScheduleHistory in a report, an integration or a migration? Talk to Dr Dynamics.