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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchDeliveryScheduleSystem record ID of the delivery schedule that this history belongs to.Int64
RefRecId
YesPurchDeliverySchedule.RecIdNone
ValidToDate and time until which this version applied.UtcDateTime
ValidToDateTime
YesNone
ValidFromDate and time from which this version applied.UtcDateTime
ValidFromDateTime
YesNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
OrderLineLot ID of the purchase order line for this history record.String (20)
TradeInventTransId
YesPurchLine.InventTransIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
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 (1)

Relations (2)

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

  • OrderLine → PurchLine

    Join on OrderLine = PurchLine.InventTransId

    Many PurchDeliveryScheduleHistory records → exactly one PurchLine record

  • PurchDeliverySchedule → PurchDeliverySchedule

    Join on PurchDeliverySchedule = PurchDeliverySchedule.RecId

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

Email sales@drdynamics.co.uk