Table
WHSTmpWorkLineHistory
Temp Work Transactions History
History copy of temporary work lines created during warehouse work creation. It has no defined key. Fields cover items, quantities, locations, loads, waves and shipments, and mirror the live temporary work line table.
- Table name
WHSTmpWorkLineHistory- Module
Inventory- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (55)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CarrierCodeCode of the shipping carrier. | String (20)TMSCarrierCode | No | TMSCarrier.CarrierCode | None |
CarrierServiceCodeCode of the carrier service. | String (20)TMSCarrierServiceCode | No | None | |
ContainerIdIdentifier of the container. | String (25)WHSContainerId | No | WHSContainerTable.ContainerId | None |
ContainerLevelLevel of the container in a container structure. | IntegerWHSContainerLevel | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustVendACCustomer or vendor account number. | String (20)CustVendAC | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DemandWaveIdID of the wave that created the demand. | String (20)WHSDemandWaveId | No | WHSWaveTable.WaveId | None |
DirectiveQtyQuantity set by the work directive. | RealWHSDirectiveQty | Yes | None | |
DirectiveUOMUnit of measure for the directive quantity. | StringWHSDirectiveUOM | Yes | UnitOfMeasure.Symbol | None |
HighestContainerIdID of the top-level parent container. | String (25)WHSHighestContainerId | No | WHSContainerTable.ContainerId | None |
HighestQtyQuantity in the highest unit. | RealWHSHighestQty | No | None | |
HighestUnitIdHighest unit of measure used. | StringWHSHighestUnitId | No | UnitOfMeasure.Symbol | None |
InventBatchIdBatch number of the item. | String (20)InventBatchId | No | InventBatch.inventBatchId | None |
InventDimIdNumber linking to a set of inventory dimensions. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
InventLocationIdWarehouse of the work line. | StringInventLocationId | No | InventLocation.InventLocationId | None |
InventQtyQuantity in inventory units. | RealWHSInventQty | Yes | None | |
InventSerialIdSerial number of the item. | String (20)InventSerialId | No | InventSerial.InventSerialId | None |
InventTransIdLot ID of the inventory transaction. | String (20)InventTransId | Yes | InventTransOrigin.InventTransIdPurchLine.InventTransIdSalesLine.InventTransIdWHSInboundShipmentOrderLine.InventTransIdWHSOutboundShipmentOrderLine.InventTransId | None |
InventUnitizeQtyInventory quantity that is unitized. | RealWHSInventUnitizeQty | No | None | |
ItemIdItem number. | String (20)ItemId | Yes | InventTable.ItemId | None |
LicensePlateIdLicense plate identifier. | String (25)WHSLicensePlateId | No | WHSLicensePlate.LicensePlateId | None |
LineNumLine number. | RealLineNum | No | None | |
LoadIdIdentifier of the load. | String (20)WHSLoadId | No | WHSLoadTable.LoadId | None |
LoadLineRefRecIdRecord ID of the related load line. | Int64RefRecId | No | WHSLoadLine.RecId | None |
ModeCodeCode of the mode of delivery. | String (20)TMSModeCode | No | TMSMode.ModeCode | None |
OrderNumOrder number. | String (20)WHSOrderNum | No | None | |
OriginRefIdNumber of the originating production, purchase or sales order. | String (20)WHSOriginRefId | No | ProdTable.ProdIdPurchTable.PurchIdSalesTable.SalesIdWHSInboundShipmentOrder.InboundShipmentOrderIdWHSOutboundShipmentOrder.OutboundShipmentOrderId | None |
OriginTypeType of the originating transaction, such as sales order, wave or load. | EnumWHSOriginType (enum) | Yes | None | |
PackingQtyQuantity to pack. | RealWHSPackingQty | No | None | |
PackQtyCompareShows whether the process quantity is equal to, greater than or less than the packing quantity. | EnumWHSPackQtyCompare (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProdBOMOprNumOperation number of the bill of materials line. | IntegerOprNumBOM | 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 | |
RefRecIdRecord ID of the referenced load line. | Int64RefRecId | No | None | |
RefTableIdID of the table the reference points to. | IntegerRefTableId | No | None | |
ReleaseToWarehouseIdIdentifier for the release to warehouse. | String (20)WHSReleaseToWarehouseId | No | None | |
RequestedTypeIdRequest type identifier. | StringWHSRequestTypeId | No | WHSRequestType.RequestTypeId | None |
ShipmentIdShipment the line relates to. | String (20)WHSShipmentId | No | WHSShipmentTable.ShipmentId | None |
StartLocationIdLocation where the work starts. | StringWHSStartLocationId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToWarehouseDestination warehouse. | StringWHSToWarehouse | No | InventLocation.InventLocationId | None |
TransTxtDescription of the transaction. | String (60)TransTxt | No | None | |
WaveAttributeCodeFirst wave attribute code. | StringWHSWaveAttributeCode | No | None | |
WaveIdWave identifier. | String (20)WHSWaveId | No | WHSWaveTable.WaveId | None |
WMSLocationIdWarehouse location. | StringWMSLocationId | No | WMSLocation.wMSLocationId | None |
WorkBreakYes/No flag marking a break in the work. | EnumWHsBreakNoYes (enum) | No | None | |
WorkCreatedYes/No flag showing whether work has been created. | EnumWHSWorkCreatedNoYes (enum) | No | None | |
WorkCreateIdID of the work creation run. | String (20)WHSWorkCreateId | Yes | None | |
WorkIdIdentifier of the work. | String (20)WHSWorkId | No | WHSWorkTable.WorkId | None |
WorkTemplateCodeCode of the work template. | String (20)WHSWorkTemplateCode | No | None | |
WorkTransTypeType of work order, such as sales orders or transfer issue. | EnumWHSWorkTransType (enum) | No | None | |
WorkTypeType of work, such as pick, put or counting. | EnumWHSWorkType (enum) | Yes | None | |
ZoneIdWarehouse zone identifier. | String (20)WHSZoneId | No | WHSZone.ZoneId | None |
Indexes (4)
WorkCreateIdWorkTemplateCodeIdxWorkCreateId,WorkTemplateCodeNot unique.
WorkCreatedIdLineNumIdxNot unique.
InventLocationIdxNot unique.
CreatedDateTimeIdxCreatedDateTime,DataAreaId,PartitionNot unique.
Relations (38)
Each relation joins WHSTmpWorkLineHistory to another table on the fields shown.
InventBatch→InventBatchJoin on
InventBatchId = InventBatch.inventBatchId,ItemId = InventBatch.itemIdMany WHSTmpWorkLineHistory records → zero or one InventBatch record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdOne or more WHSTmpWorkLineHistory records → exactly one InventDim record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany WHSTmpWorkLineHistory records → zero or one InventLocation record
InventSerial→InventSerialJoin on
InventSerialId = InventSerial.InventSerialId,ItemId = InventSerial.ItemIdMany WHSTmpWorkLineHistory records → zero or one InventSerial record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdOne or more WHSTmpWorkLineHistory records → exactly one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdOne or more WHSTmpWorkLineHistory records → exactly one InventTransOrigin record
ProdBOM→ProdBOMJoin on
OriginRefId = ProdBOM.ProdIdMany WHSTmpWorkLineHistory records → zero or one ProdBOM record
ProdTable→ProdTableJoin on
OriginRefId = ProdTable.ProdIdMany WHSTmpWorkLineHistory records → zero or one ProdTable record
PurchLine→PurchLineJoin on
WorkTransType = WHSWorkTransType::Purch,InventTransId = PurchLine.InventTransIdMany WHSTmpWorkLineHistory records → zero or one PurchLine record
PurchTable→PurchTableJoin on
OriginRefId = PurchTable.PurchIdMany WHSTmpWorkLineHistory records → zero or one PurchTable record
SalesLine→SalesLineJoin on
WorkTransType = WHSWorkTransType::Sales,InventTransId = SalesLine.InventTransIdMany WHSTmpWorkLineHistory records → zero or one SalesLine record
SalesTable→SalesTableJoin on
OriginRefId = SalesTable.SalesIdMany WHSTmpWorkLineHistory records → zero or one SalesTable record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany WHSTmpWorkLineHistory records → zero or one TMSCarrier record
TMSMode→TMSModeJoin on
ModeCode = TMSMode.ModeCodeMany WHSTmpWorkLineHistory records → zero or one TMSMode record
UnitOfMeasureDirective→UnitOfMeasureJoin on
DirectiveUOM = UnitOfMeasure.SymbolMany WHSTmpWorkLineHistory records → exactly one UnitOfMeasure record
UnitOfMeasureHighest→UnitOfMeasureJoin on
HighestUnitId = UnitOfMeasure.SymbolMany WHSTmpWorkLineHistory records → zero or one UnitOfMeasure record
WaveAttributeCode1→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute1,WaveAttributeCode[1] = WHSWaveAttributes.AttributeNumMany WHSTmpWorkLineHistory records → zero or one WHSWaveAttributes record
WaveAttributeCode2→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute2,WaveAttributeCode[2] = WHSWaveAttributes.AttributeNumMany WHSTmpWorkLineHistory records → zero or one WHSWaveAttributes record
WaveAttributeCode3→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute3,WaveAttributeCode[3] = WHSWaveAttributes.AttributeNumMany WHSTmpWorkLineHistory records → zero or one WHSWaveAttributes record
WaveAttributeCode4→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute4,WaveAttributeCode[4] = WHSWaveAttributes.AttributeNumMany WHSTmpWorkLineHistory records → zero or one WHSWaveAttributes record
WHSContainerTable→WHSContainerTableJoin on
ContainerId = WHSContainerTable.ContainerIdMany WHSTmpWorkLineHistory records → zero or one WHSContainerTable record
WHSHighestContainer→WHSContainerTableJoin on
HighestContainerId = WHSContainerTable.ContainerIdMany WHSTmpWorkLineHistory records → zero or one WHSContainerTable record
WHSLicensePlate→WHSLicensePlateJoin on
LicensePlateId = WHSLicensePlate.LicensePlateIdMany WHSTmpWorkLineHistory records → zero or one WHSLicensePlate record
WHSLoadLine→WHSLoadLineJoin on
RefRecId = WHSLoadLine.RecId,RefTableId = WHSLoadLine.TableIdMany WHSTmpWorkLineHistory records → zero or one WHSLoadLine record
WHSLoadLineRecId→WHSLoadLineJoin on
LoadLineRefRecId = WHSLoadLine.RecIdMany WHSTmpWorkLineHistory records → zero or one WHSLoadLine record
WHSLoadTable→WHSLoadTableJoin on
LoadId = WHSLoadTable.LoadIdMany WHSTmpWorkLineHistory records → zero or one WHSLoadTable record
WHSRequestType→WHSRequestTypeJoin on
RequestedTypeId = WHSRequestType.RequestTypeIdMany WHSTmpWorkLineHistory records → zero or one WHSRequestType record
WHSShipmentTable→WHSShipmentTableJoin on
ShipmentId = WHSShipmentTable.ShipmentIdMany WHSTmpWorkLineHistory records → zero or one WHSShipmentTable record
WHSToWarehouse→InventLocationJoin on
ToWarehouse = InventLocation.InventLocationIdMany WHSTmpWorkLineHistory records → zero or one InventLocation record
WHSWaveTable→WHSWaveTableJoin on
WaveId = WHSWaveTable.WaveIdMany WHSTmpWorkLineHistory records → zero or one WHSWaveTable record
WHSWorkTable→WHSWorkTableJoin on
WorkId = WHSWorkTable.WorkIdMany WHSTmpWorkLineHistory records → zero or one WHSWorkTable record
WHSZone→WHSZoneJoin on
ZoneId = WHSZone.ZoneIdMany WHSTmpWorkLineHistory records → zero or one WHSZone record
WMSLocation→WMSLocationJoin on
WMSLocationId = WMSLocation.wMSLocationId,InventLocationId = WMSLocation.inventLocationIdMany WHSTmpWorkLineHistory records → zero or one WMSLocation record
WHSDemandWave→WHSWaveTableJoin on
DemandWaveId = WHSWaveTable.WaveIdMany WHSTmpWorkLineHistory records → zero or one WHSWaveTable record
OutboundShipmentOrder→WHSOutboundShipmentOrderJoin on
OriginRefId = WHSOutboundShipmentOrder.OutboundShipmentOrderIdMany WHSTmpWorkLineHistory records → zero or one WHSOutboundShipmentOrder record
OutboundShipmentOrderLine→WHSOutboundShipmentOrderLineJoin on
WorkTransType = WHSWorkTransType::OutboundShipmentOrder,InventTransId = WHSOutboundShipmentOrderLine.InventTransIdMany WHSTmpWorkLineHistory records → zero or one WHSOutboundShipmentOrderLine record
InboundShipmentOrder→WHSInboundShipmentOrderJoin on
OriginRefId = WHSInboundShipmentOrder.InboundShipmentOrderIdMany WHSTmpWorkLineHistory records → zero or one WHSInboundShipmentOrder record
InboundShipmentOrderLine→WHSInboundShipmentOrderLineJoin on
WorkTransType = WHSWorkTransType::InboundShipmentOrder,InventTransId = WHSInboundShipmentOrderLine.InventTransIdMany WHSTmpWorkLineHistory records → zero or one WHSInboundShipmentOrderLine record
Get this data out
No public entity reads from WHSTmpWorkLineHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSTmpWorkLineHistory in a report, an integration or a migration? Talk to Dr Dynamics.