Table

WHSTmpWorkLine

Temporary work transactions

Temporary work lines used while warehouse work is being created. Records are grouped by work creation ID and work template, and hold quantities, locations, item and dimension details, and links to loads, waves, shipments and orders.

Table name
WHSTmpWorkLine
Module
Inventory
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
WorkCreateIdWorkTemplateCodeIdx
Replacement key
None
Key fields
WorkCreateId, WorkTemplateCode, RecId
Model
Foundation

Fields (78)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkCreateIdID of the work creation run. Part of the key.String (20)
WHSWorkCreateId
YesNone
WorkTemplateCodeCode of the work template. Part of the key.String (20)
WHSWorkTemplateCode
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
AvailPhysicalPhysical quantity that is available and not reserved.Real
InventQtyAvailPhysical
NoNone
CancelReplenWhenDemandCanceledYes/No flag to cancel replenishment if the demand is cancelled.Enum
WHSCancelReplenWhenDemandCanceled
NoYes (enum)
NoNone
CarrierCodeCode of the shipping carrier; points to the carrier record.String (20)
TMSCarrierCode
NoTMSCarrier.CarrierCodeNone
CarrierServiceCodeCode of the carrier service.String (20)
TMSCarrierServiceCode
NoNone
ContainerIdIdentifier of the container.String (25)
WHSContainerId
NoNone
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
ExtraInventHandlingQtyExtra inventory quantity to handle.Real
WHSExtraInventHandlingQty
NoNone
FEFOBatchIdBatch ID for first-expired-first-out selection.String (20)
WHSFEFOBatchId
NoNone
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
ImmediateReplenishmentUnitIdUnit of measure used for immediate replenishment.String
UnitOfMeasureSymbol
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
YesInventLocation.InventLocationIdNone
InventoryTransactionOriginIdUnique ID of the warehouse inventory transaction origin.Guid
WHSInventoryTransactionOriginId
NoNone
InventQtyQuantity in inventory units.Real
WHSInventQty
YesNone
InventQualityOrderIdQuality order number.String (20)
InventQualityOrderId
NoInventQualityOrderTable.QualityOrderIdNone
InventSerialIdSerial number of the item.String (20)
InventSerialId
NoNone
InventTestAssociationTableRecord ID of the quality association.Int64
InventTestAssociationTableRecId
NoInventTestAssociationTable.RecIdNone
InventTransIdLot ID of the inventory transaction.String (20)
InventTransId
YesInventTransOrigin.InventTransIdPurchLine.InventTransIdSalesLine.InventTransIdWHSInboundShipmentOrderLine.InventTransIdWHSOutboundShipmentOrderLine.InventTransIdNone
InventTransOriginIdSupplyRecord ID of the marked inventory transaction originator.Int64
InventTransOriginIdMarked
NoInventTransOrigin.RecIdNone
InventUnitizeQtyInventory quantity that is unitized.Real
WHSInventUnitizeQty
NoNone
ItemIdItem number.String (20)
ItemId
YesInventTable.ItemIdNone
ItemSetIdPurpose not clear from the metadata.low confidenceGuid
WHSInventoryItemSetId
NoNone
ItemSetIdNoBelowLocDimPurpose not clear from the metadata.low confidenceGuid
WHSInventoryItemSetId
NoNone
LicensePlateIdLicense plate identifier.String (25)
WHSLicensePlateId
NoWHSLicensePlate.LicensePlateIdNone
LineNumLine number.Real
LineNum
YesNone
LoadIdIdentifier of the load.String (20)
WHSLoadId
NoWHSLoadTable.LoadIdNone
LoadLineRefRecIdRecord ID of the related load line.Int64
RefRecId
NoWHSLoadLine.RecIdNone
LocatedLPIdID of the license plate where the goods are located.String (25)
WHSLocatedLPId
NoNone
ModeCodeCode of the mode of delivery.String (20)
TMSModeCode
NoTMSMode.ModeCodeNone
OrderCommittedBatchIdBatch number committed to the order.String (20)
InventBatchId
NoNone
OrderCommittedInventDimIdInventory dimension number for the order-committed stock.String (20)
InventDimId
NoNone
OrderCommittedLicensePlateIdLicense plate committed to the order.String (25)
WHSLicensePlateId
NoNone
OrderCommittedSerialIdSerial number committed to the order.String (20)
InventSerialId
NoNone
OrderNumProduction order number.String (20)
WHSOrderNum
NoProdTable.ProdIdNone
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
OutboundSortLocationIdDefault location for outbound sorting.String
WHSOutboundSortLocationId
NoWMSLocation.wMSLocationIdNone
OutboundSortPositionRecord ID of the outbound sort position.Int64
WHSOutboundSortPositionRecId
NoWHSOutboundSortPosition.RecIdNone
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
ProcessingPriorityPriority number for processing the line.Integer
WHSTmpWorkLineProcessingPriority
NoNone
ProdBOMOprNumOperation number of the bill of materials line.Integer
OprNumBOM
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
ReplenDemandYes/No flag showing whether replenishment is needed.Enum
WHSReplenDemand
NoYes (enum)
NoNone
ReplenLocationIdLocation to replenish.String
WMSLocationId
NoNone
RequestedTypeIdRequest type identifier.String
WHSRequestTypeId
NoWHSRequestType.RequestTypeIdNone
ShipmentIdShipment the line relates to.String (20)
WHSShipmentId
NoWHSShipmentTable.ShipmentIdNone
sortCodeNumber used to sort work lines.Integer
WMSSortCode
NoNone
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
UseWorkForWaveReplenYes/No flag allowing wave demand to use unreserved quantities.Enum
WHSUseWorkForWaveReplen
NoYes (enum)
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
WorkIdIdentifier of the work.String (20)
WHSWorkId
NoWHSWorkTable.WorkIdNone
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 (9)

Relations (45)

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

  • InventBatchId → InventBatch

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

    Many WHSTmpWorkLine records → zero or one InventBatch record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    One or more WHSTmpWorkLine records → exactly one InventDim record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many WHSTmpWorkLine records → exactly one InventLocation record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    One or more WHSTmpWorkLine records → exactly one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    One or more WHSTmpWorkLine records → exactly one InventTransOrigin record

  • KanbanJob → KanbanJob

    Join on WorkTransType = WHSWorkTransType::KanbanPut, InventTransId = KanbanJob.InventTransId

    Many WHSTmpWorkLine records → zero or one KanbanJob record

  • ProdBOM → ProdBOM

    Join on OriginRefId = ProdBOM.ProdId

    Many WHSTmpWorkLine records → zero or one ProdBOM record

  • ProdTable → ProdTable

    Join on OriginRefId = ProdTable.ProdId

    Many WHSTmpWorkLine records → zero or one ProdTable record

  • ProdTableOrderNum → ProdTable

    Join on OrderNum = ProdTable.ProdId

    Many WHSTmpWorkLine records → zero or one ProdTable record

  • PurchLine → PurchLine

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

    Many WHSTmpWorkLine records → zero or one PurchLine record

  • PurchTable → PurchTable

    Join on OriginRefId = PurchTable.PurchId

    Many WHSTmpWorkLine records → zero or one PurchTable record

  • SalesLine → SalesLine

    Join on InventTransId = SalesLine.InventTransId

    Many WHSTmpWorkLine records → exactly one SalesLine record

  • SalesTable → SalesTable

    Join on OriginRefId = SalesTable.SalesId

    Many WHSTmpWorkLine records → zero or one SalesTable record

  • TMSCarrier → TMSCarrier

    Join on CarrierCode = TMSCarrier.CarrierCode

    Many WHSTmpWorkLine records → zero or one TMSCarrier record

  • TMSMode → TMSMode

    Join on ModeCode = TMSMode.ModeCode

    Many WHSTmpWorkLine records → zero or one TMSMode record

  • UnitOfMeasureDirective → UnitOfMeasure

    Join on DirectiveUOM = UnitOfMeasure.Symbol

    Many WHSTmpWorkLine records → exactly one UnitOfMeasure record

  • UnitOfMeasureHighest → UnitOfMeasure

    Join on HighestUnitId = UnitOfMeasure.Symbol

    Many WHSTmpWorkLine records → zero or one UnitOfMeasure record

  • WaveAttributeCode1 → WHSWaveAttributes

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

    Many WHSTmpWorkLine records → zero or one WHSWaveAttributes record

  • WaveAttributeCode2 → WHSWaveAttributes

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

    Many WHSTmpWorkLine records → zero or one WHSWaveAttributes record

  • WaveAttributeCode3 → WHSWaveAttributes

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

    Many WHSTmpWorkLine records → zero or one WHSWaveAttributes record

  • WaveAttributeCode4 → WHSWaveAttributes

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

    Many WHSTmpWorkLine records → zero or one WHSWaveAttributes record

  • WHSContainerTable → WHSContainerTable

    Join on HighestContainerId = WHSContainerTable.ContainerId

    Many WHSTmpWorkLine records → zero or one WHSContainerTable record

  • WHSLicensePlate → WHSLicensePlate

    Join on LicensePlateId = WHSLicensePlate.LicensePlateId

    Many WHSTmpWorkLine records → zero or one WHSLicensePlate record

  • WHSLoadLine → WHSLoadLine

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

    Many WHSTmpWorkLine records → zero or one WHSLoadLine record

  • WHSLoadLineRefRedId → WHSLoadLine

    Join on LoadLineRefRecId = WHSLoadLine.RecId

    Many WHSTmpWorkLine records → zero or one WHSLoadLine record

  • WHSLoadTable → WHSLoadTable

    Join on LoadId = WHSLoadTable.LoadId

    Many WHSTmpWorkLine records → zero or one WHSLoadTable record

  • WHSRequestType → WHSRequestType

    Join on RequestedTypeId = WHSRequestType.RequestTypeId

    Many WHSTmpWorkLine records → zero or one WHSRequestType record

  • WHSShipmentTable → WHSShipmentTable

    Join on ShipmentId = WHSShipmentTable.ShipmentId

    Many WHSTmpWorkLine records → zero or one WHSShipmentTable record

  • WHSToWarehouse → InventLocation

    Join on ToWarehouse = InventLocation.InventLocationId

    Many WHSTmpWorkLine records → zero or one InventLocation record

  • WHSWaveTable → WHSWaveTable

    Join on WaveId = WHSWaveTable.WaveId

    Many WHSTmpWorkLine records → zero or one WHSWaveTable record

  • WHSWorkTable → WHSWorkTable

    Join on WorkId = WHSWorkTable.WorkId

    Many WHSTmpWorkLine records → zero or one WHSWorkTable record

  • WHSZone → WHSZone

    Join on ZoneId = WHSZone.ZoneId

    Many WHSTmpWorkLine records → zero or one WHSZone record

  • WMSLocation → WMSLocation

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

    Many WHSTmpWorkLine records → zero or one WMSLocation record

  • UnitOfMeasureImmediateReplenUnit → UnitOfMeasure

    Join on ImmediateReplenishmentUnitId = UnitOfMeasure.Symbol

    Many WHSTmpWorkLine records → zero or one UnitOfMeasure record

  • WHSDemandWave → WHSWaveTable

    Join on DemandWaveId = WHSWaveTable.WaveId

    Many WHSTmpWorkLine records → zero or one WHSWaveTable record

  • InventTransOriginIdMarked → InventTransOrigin

    Join on InventTransOriginIdSupply = InventTransOrigin.RecId

    Many WHSTmpWorkLine records → zero or one InventTransOrigin record

  • WHSOutboundSortPosition → WHSOutboundSortPosition

    Join on OutboundSortPosition = WHSOutboundSortPosition.RecId

    Many WHSTmpWorkLine records → zero or one WHSOutboundSortPosition record

  • WMSLocationSort → WMSLocation

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

    Many WHSTmpWorkLine records → zero or one WMSLocation record

  • InventQualityOrderTable → InventQualityOrderTable

    Join on InventQualityOrderId = InventQualityOrderTable.QualityOrderId

    Many WHSTmpWorkLine records → zero or one InventQualityOrderTable record

  • InventTestAssociationTable → InventTestAssociationTable

    Join on InventTestAssociationTable = InventTestAssociationTable.RecId

    Many WHSTmpWorkLine records → zero or one InventTestAssociationTable record

  • ITMGITOrder → ITMGoodsInTransitOrder

    Join on WorkTransType = WHSWorkTransType::ITMGoodsInTransit, InventTransId = ITMGoodsInTransitOrder.InventTransId

    Many WHSTmpWorkLine records → zero or one ITMGoodsInTransitOrder record

  • WHSOutboundShipmentOrderLine → WHSOutboundShipmentOrderLine

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

    Many WHSTmpWorkLine records → exactly one WHSOutboundShipmentOrderLine record

  • WHSOutboundShipmentOrder → WHSOutboundShipmentOrder

    Join on WorkTransType = WHSWorkTransType::OutboundShipmentOrder, OriginRefId = WHSOutboundShipmentOrder.OutboundShipmentOrderId

    Many WHSTmpWorkLine records → zero or one WHSOutboundShipmentOrder record

  • WHSInboundShipmentOrderLine → WHSInboundShipmentOrderLine

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

    Many WHSTmpWorkLine records → exactly one WHSInboundShipmentOrderLine record

  • WHSInboundShipmentOrder → WHSInboundShipmentOrder

    Join on WorkTransType = WHSWorkTransType::InboundShipmentOrder, OriginRefId = WHSInboundShipmentOrder.InboundShipmentOrderId

    Many WHSTmpWorkLine records → zero or one WHSInboundShipmentOrder record

Get this data out

No public entity reads from WHSTmpWorkLine. Its data is only reachable through the application, a custom entity or a database export.

Need help with WHSTmpWorkLine in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk