Table
WHSHistory
Load history
Keeps a history of events for loads and shipments. Each entry has an event, such as release to warehouse or confirm shipment, and a time. The reference ID points to either a load or a shipment, as set by the history type.
- Table name
WHSHistory- Module
Inventory- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
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 | |
HistoryEventThe event that happened: release to warehouse or confirm shipment. | EnumWHSHistoryEvent (enum) | No | None | |
HistoryTypeShows whether the entry is for a load or a shipment. | EnumWHSHistoryType (enum) | No | None | |
IdThe ID of the load or shipment that the entry refers to. | String (20)WHSId | No | WHSLoadTable.LoadIdWHSShipmentTable.ShipmentId | 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 | |
TransDateTimeThe date and time of the event. | UtcDateTimeTransDateTime | No | None |
Indexes (2)
TransDateTimeNot unique.
HistoryTypeIdIdxUnique.
Relations (3)
Each relation joins WHSHistory to another table on the fields shown.
WHSHistory→WHSHistoryJoin on
Id = WHSHistory.IdExactly one WHSHistory record → zero or one WHSHistory record
WHSLoadTable→WHSLoadTableJoin on
HistoryType = WHSHistoryType::Load,Id = WHSLoadTable.LoadIdMany WHSHistory records → zero or one WHSLoadTable record
WHSShipmentTable→WHSShipmentTableJoin on
HistoryType = WHSHistoryType::Shipment,Id = WHSShipmentTable.ShipmentIdMany WHSHistory records → zero or one WHSShipmentTable record
Get this data out
No public entity reads from WHSHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSHistory in a report, an integration or a migration? Talk to Dr Dynamics.