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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CarrierCodeCode of the shipping carrier.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CarrierServiceCodeCode of the carrier service.String (20)
TMSCarrierServiceCode
NoNone
ContainerIdIdentifier of the container.String (25)
WHSContainerId
NoWHSContainerTable.ContainerIdNone
ContainerLevelLevel of the container in a container structure.Integer
WHSContainerLevel
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustVendACCustomer or vendor account number.String (20)
CustVendAC
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DemandWaveIdID of the wave that created the demand.String (20)
WHSDemandWaveId
NoWHSWaveTable.WaveIdNone
DirectiveQtyQuantity set by the work directive.Real
WHSDirectiveQty
YesNone
DirectiveUOMUnit of measure for the directive quantity.String
WHSDirectiveUOM
YesUnitOfMeasure.SymbolNone
HighestContainerIdID of the top-level parent container.String (25)
WHSHighestContainerId
NoWHSContainerTable.ContainerIdNone
HighestQtyQuantity in the highest unit.Real
WHSHighestQty
NoNone
HighestUnitIdHighest unit of measure used.String
WHSHighestUnitId
NoUnitOfMeasure.SymbolNone
InventBatchIdBatch number of the item.String (20)
InventBatchId
NoInventBatch.inventBatchIdNone
InventDimIdNumber linking to a set of inventory dimensions.String (20)
InventDimId
YesInventDim.inventDimIdNone
InventLocationIdWarehouse of the work line.String
InventLocationId
NoInventLocation.InventLocationIdNone
InventQtyQuantity in inventory units.Real
WHSInventQty
YesNone
InventSerialIdSerial number of the item.String (20)
InventSerialId
NoInventSerial.InventSerialIdNone
InventTransIdLot ID of the inventory transaction.String (20)
InventTransId
YesInventTransOrigin.InventTransIdPurchLine.InventTransIdSalesLine.InventTransIdWHSInboundShipmentOrderLine.InventTransIdWHSOutboundShipmentOrderLine.InventTransIdNone
InventUnitizeQtyInventory quantity that is unitized.Real
WHSInventUnitizeQty
NoNone
ItemIdItem number.String (20)
ItemId
YesInventTable.ItemIdNone
LicensePlateIdLicense plate identifier.String (25)
WHSLicensePlateId
NoWHSLicensePlate.LicensePlateIdNone
LineNumLine number.Real
LineNum
NoNone
LoadIdIdentifier of the load.String (20)
WHSLoadId
NoWHSLoadTable.LoadIdNone
LoadLineRefRecIdRecord ID of the related load line.Int64
RefRecId
NoWHSLoadLine.RecIdNone
ModeCodeCode of the mode of delivery.String (20)
TMSModeCode
NoTMSMode.ModeCodeNone
OrderNumOrder number.String (20)
WHSOrderNum
NoNone
OriginRefIdNumber of the originating production, purchase or sales order.String (20)
WHSOriginRefId
NoProdTable.ProdIdPurchTable.PurchIdSalesTable.SalesIdWHSInboundShipmentOrder.InboundShipmentOrderIdWHSOutboundShipmentOrder.OutboundShipmentOrderIdNone
OriginTypeType of the originating transaction, such as sales order, wave or load.Enum
WHSOriginType (enum)
YesNone
PackingQtyQuantity to pack.Real
WHSPackingQty
NoNone
PackQtyCompareShows whether the process quantity is equal to, greater than or less than the packing quantity.Enum
WHSPackQtyCompare (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProdBOMOprNumOperation number of the bill of materials line.Integer
OprNumBOM
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
RefRecIdRecord ID of the referenced load line.Int64
RefRecId
NoNone
RefTableIdID of the table the reference points to.Integer
RefTableId
NoNone
ReleaseToWarehouseIdIdentifier for the release to warehouse.String (20)
WHSReleaseToWarehouseId
NoNone
RequestedTypeIdRequest type identifier.String
WHSRequestTypeId
NoWHSRequestType.RequestTypeIdNone
ShipmentIdShipment the line relates to.String (20)
WHSShipmentId
NoWHSShipmentTable.ShipmentIdNone
StartLocationIdLocation where the work starts.String
WHSStartLocationId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToWarehouseDestination warehouse.String
WHSToWarehouse
NoInventLocation.InventLocationIdNone
TransTxtDescription of the transaction.String (60)
TransTxt
NoNone
WaveAttributeCodeFirst wave attribute code.String
WHSWaveAttributeCode
NoNone
WaveIdWave identifier.String (20)
WHSWaveId
NoWHSWaveTable.WaveIdNone
WMSLocationIdWarehouse location.String
WMSLocationId
NoWMSLocation.wMSLocationIdNone
WorkBreakYes/No flag marking a break in the work.Enum
WHsBreak
NoYes (enum)
NoNone
WorkCreatedYes/No flag showing whether work has been created.Enum
WHSWorkCreated
NoYes (enum)
NoNone
WorkCreateIdID of the work creation run.String (20)
WHSWorkCreateId
YesNone
WorkIdIdentifier of the work.String (20)
WHSWorkId
NoWHSWorkTable.WorkIdNone
WorkTemplateCodeCode of the work template.String (20)
WHSWorkTemplateCode
NoNone
WorkTransTypeType of work order, such as sales orders or transfer issue.Enum
WHSWorkTransType (enum)
NoNone
WorkTypeType of work, such as pick, put or counting.Enum
WHSWorkType (enum)
YesNone
ZoneIdWarehouse zone identifier.String (20)
WHSZoneId
NoWHSZone.ZoneIdNone

Indexes (4)

Relations (38)

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

  • InventBatch → InventBatch

    Join on InventBatchId = InventBatch.inventBatchId, ItemId = InventBatch.itemId

    Many WHSTmpWorkLineHistory records → zero or one InventBatch record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    One or more WHSTmpWorkLineHistory records → exactly one InventDim record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many WHSTmpWorkLineHistory records → zero or one InventLocation record

  • InventSerial → InventSerial

    Join on InventSerialId = InventSerial.InventSerialId, ItemId = InventSerial.ItemId

    Many WHSTmpWorkLineHistory records → zero or one InventSerial record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    One or more WHSTmpWorkLineHistory records → exactly one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    One or more WHSTmpWorkLineHistory records → exactly one InventTransOrigin record

  • ProdBOM → ProdBOM

    Join on OriginRefId = ProdBOM.ProdId

    Many WHSTmpWorkLineHistory records → zero or one ProdBOM record

  • ProdTable → ProdTable

    Join on OriginRefId = ProdTable.ProdId

    Many WHSTmpWorkLineHistory records → zero or one ProdTable record

  • PurchLine → PurchLine

    Join on WorkTransType = WHSWorkTransType::Purch, InventTransId = PurchLine.InventTransId

    Many WHSTmpWorkLineHistory records → zero or one PurchLine record

  • PurchTable → PurchTable

    Join on OriginRefId = PurchTable.PurchId

    Many WHSTmpWorkLineHistory records → zero or one PurchTable record

  • SalesLine → SalesLine

    Join on WorkTransType = WHSWorkTransType::Sales, InventTransId = SalesLine.InventTransId

    Many WHSTmpWorkLineHistory records → zero or one SalesLine record

  • SalesTable → SalesTable

    Join on OriginRefId = SalesTable.SalesId

    Many WHSTmpWorkLineHistory records → zero or one SalesTable record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many WHSTmpWorkLineHistory records → zero or one TMSCarrier record

  • TMSMode → TMSMode

    Join on ModeCode = TMSMode.ModeCode

    Many WHSTmpWorkLineHistory records → zero or one TMSMode record

  • UnitOfMeasureDirective → UnitOfMeasure

    Join on DirectiveUOM = UnitOfMeasure.Symbol

    Many WHSTmpWorkLineHistory records → exactly one UnitOfMeasure record

  • UnitOfMeasureHighest → UnitOfMeasure

    Join on HighestUnitId = UnitOfMeasure.Symbol

    Many WHSTmpWorkLineHistory records → zero or one UnitOfMeasure record

  • WaveAttributeCode1 → WHSWaveAttributes

    Join on WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute1, WaveAttributeCode[1] = WHSWaveAttributes.AttributeNum

    Many WHSTmpWorkLineHistory records → zero or one WHSWaveAttributes record

  • WaveAttributeCode2 → WHSWaveAttributes

    Join on WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute2, WaveAttributeCode[2] = WHSWaveAttributes.AttributeNum

    Many WHSTmpWorkLineHistory records → zero or one WHSWaveAttributes record

  • WaveAttributeCode3 → WHSWaveAttributes

    Join on WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute3, WaveAttributeCode[3] = WHSWaveAttributes.AttributeNum

    Many WHSTmpWorkLineHistory records → zero or one WHSWaveAttributes record

  • WaveAttributeCode4 → WHSWaveAttributes

    Join on WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute4, WaveAttributeCode[4] = WHSWaveAttributes.AttributeNum

    Many WHSTmpWorkLineHistory records → zero or one WHSWaveAttributes record

  • WHSContainerTable → WHSContainerTable

    Join on ContainerId = WHSContainerTable.ContainerId

    Many WHSTmpWorkLineHistory records → zero or one WHSContainerTable record

  • WHSHighestContainer → WHSContainerTable

    Join on HighestContainerId = WHSContainerTable.ContainerId

    Many WHSTmpWorkLineHistory records → zero or one WHSContainerTable record

  • WHSLicensePlate → WHSLicensePlate

    Join on LicensePlateId = WHSLicensePlate.LicensePlateId

    Many WHSTmpWorkLineHistory records → zero or one WHSLicensePlate record

  • WHSLoadLine → WHSLoadLine

    Join on RefRecId = WHSLoadLine.RecId, RefTableId = WHSLoadLine.TableId

    Many WHSTmpWorkLineHistory records → zero or one WHSLoadLine record

  • WHSLoadLineRecId → WHSLoadLine

    Join on LoadLineRefRecId = WHSLoadLine.RecId

    Many WHSTmpWorkLineHistory records → zero or one WHSLoadLine record

  • WHSLoadTable → WHSLoadTable

    Join on LoadId = WHSLoadTable.LoadId

    Many WHSTmpWorkLineHistory records → zero or one WHSLoadTable record

  • WHSRequestType → WHSRequestType

    Join on RequestedTypeId = WHSRequestType.RequestTypeId

    Many WHSTmpWorkLineHistory records → zero or one WHSRequestType record

  • WHSShipmentTable → WHSShipmentTable

    Join on ShipmentId = WHSShipmentTable.ShipmentId

    Many WHSTmpWorkLineHistory records → zero or one WHSShipmentTable record

  • WHSToWarehouse → InventLocation

    Join on ToWarehouse = InventLocation.InventLocationId

    Many WHSTmpWorkLineHistory records → zero or one InventLocation record

  • WHSWaveTable → WHSWaveTable

    Join on WaveId = WHSWaveTable.WaveId

    Many WHSTmpWorkLineHistory records → zero or one WHSWaveTable record

  • WHSWorkTable → WHSWorkTable

    Join on WorkId = WHSWorkTable.WorkId

    Many WHSTmpWorkLineHistory records → zero or one WHSWorkTable record

  • WHSZone → WHSZone

    Join on ZoneId = WHSZone.ZoneId

    Many WHSTmpWorkLineHistory records → zero or one WHSZone record

  • WMSLocation → WMSLocation

    Join on WMSLocationId = WMSLocation.wMSLocationId, InventLocationId = WMSLocation.inventLocationId

    Many WHSTmpWorkLineHistory records → zero or one WMSLocation record

  • WHSDemandWave → WHSWaveTable

    Join on DemandWaveId = WHSWaveTable.WaveId

    Many WHSTmpWorkLineHistory records → zero or one WHSWaveTable record

  • OutboundShipmentOrder → WHSOutboundShipmentOrder

    Join on OriginRefId = WHSOutboundShipmentOrder.OutboundShipmentOrderId

    Many WHSTmpWorkLineHistory records → zero or one WHSOutboundShipmentOrder record

  • OutboundShipmentOrderLine → WHSOutboundShipmentOrderLine

    Join on WorkTransType = WHSWorkTransType::OutboundShipmentOrder, InventTransId = WHSOutboundShipmentOrderLine.InventTransId

    Many WHSTmpWorkLineHistory records → zero or one WHSOutboundShipmentOrderLine record

  • InboundShipmentOrder → WHSInboundShipmentOrder

    Join on OriginRefId = WHSInboundShipmentOrder.InboundShipmentOrderId

    Many WHSTmpWorkLineHistory records → zero or one WHSInboundShipmentOrder record

  • InboundShipmentOrderLine → WHSInboundShipmentOrderLine

    Join on WorkTransType = WHSWorkTransType::InboundShipmentOrder, InventTransId = WHSInboundShipmentOrderLine.InventTransId

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

Email sales@drdynamics.co.uk