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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WorkCreateIdID of the work creation run. Part of the key. | String (20)WHSWorkCreateId | Yes | None | |
WorkTemplateCodeCode of the work template. Part of the key. | String (20)WHSWorkTemplateCode | 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 | |
AvailPhysicalPhysical quantity that is available and not reserved. | RealInventQtyAvailPhysical | No | None | |
CancelReplenWhenDemandCanceledYes/No flag to cancel replenishment if the demand is cancelled. | EnumWHSCancelReplenWhenDemandCanceledNoYes (enum) | No | None | |
CarrierCodeCode of the shipping carrier; points to the carrier record. | 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 | 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 |
ExtraInventHandlingQtyExtra inventory quantity to handle. | RealWHSExtraInventHandlingQty | No | None | |
FEFOBatchIdBatch ID for first-expired-first-out selection. | String (20)WHSFEFOBatchId | No | 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 |
ImmediateReplenishmentUnitIdUnit of measure used for immediate replenishment. | StringUnitOfMeasureSymbol | 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 | Yes | InventLocation.InventLocationId | None |
InventoryTransactionOriginIdUnique ID of the warehouse inventory transaction origin. | GuidWHSInventoryTransactionOriginId | No | None | |
InventQtyQuantity in inventory units. | RealWHSInventQty | Yes | None | |
InventQualityOrderIdQuality order number. | String (20)InventQualityOrderId | No | InventQualityOrderTable.QualityOrderId | None |
InventSerialIdSerial number of the item. | String (20)InventSerialId | No | None | |
InventTestAssociationTableRecord ID of the quality association. | Int64InventTestAssociationTableRecId | No | InventTestAssociationTable.RecId | None |
InventTransIdLot ID of the inventory transaction. | String (20)InventTransId | Yes | InventTransOrigin.InventTransIdPurchLine.InventTransIdSalesLine.InventTransIdWHSInboundShipmentOrderLine.InventTransIdWHSOutboundShipmentOrderLine.InventTransId | None |
InventTransOriginIdSupplyRecord ID of the marked inventory transaction originator. | Int64InventTransOriginIdMarked | No | InventTransOrigin.RecId | None |
InventUnitizeQtyInventory quantity that is unitized. | RealWHSInventUnitizeQty | No | None | |
ItemIdItem number. | String (20)ItemId | Yes | InventTable.ItemId | None |
ItemSetIdPurpose not clear from the metadata.low confidence | GuidWHSInventoryItemSetId | No | None | |
ItemSetIdNoBelowLocDimPurpose not clear from the metadata.low confidence | GuidWHSInventoryItemSetId | No | None | |
LicensePlateIdLicense plate identifier. | String (25)WHSLicensePlateId | No | WHSLicensePlate.LicensePlateId | None |
LineNumLine number. | RealLineNum | Yes | None | |
LoadIdIdentifier of the load. | String (20)WHSLoadId | No | WHSLoadTable.LoadId | None |
LoadLineRefRecIdRecord ID of the related load line. | Int64RefRecId | No | WHSLoadLine.RecId | None |
LocatedLPIdID of the license plate where the goods are located. | String (25)WHSLocatedLPId | No | None | |
ModeCodeCode of the mode of delivery. | String (20)TMSModeCode | No | TMSMode.ModeCode | None |
OrderCommittedBatchIdBatch number committed to the order. | String (20)InventBatchId | No | None | |
OrderCommittedInventDimIdInventory dimension number for the order-committed stock. | String (20)InventDimId | No | None | |
OrderCommittedLicensePlateIdLicense plate committed to the order. | String (25)WHSLicensePlateId | No | None | |
OrderCommittedSerialIdSerial number committed to the order. | String (20)InventSerialId | No | None | |
OrderNumProduction order number. | String (20)WHSOrderNum | No | ProdTable.ProdId | 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 | |
OutboundSortLocationIdDefault location for outbound sorting. | StringWHSOutboundSortLocationId | No | WMSLocation.wMSLocationId | None |
OutboundSortPositionRecord ID of the outbound sort position. | Int64WHSOutboundSortPositionRecId | No | WHSOutboundSortPosition.RecId | 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 | |
ProcessingPriorityPriority number for processing the line. | IntegerWHSTmpWorkLineProcessingPriority | No | None | |
ProdBOMOprNumOperation number of the bill of materials line. | IntegerOprNumBOM | 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 | |
ReplenDemandYes/No flag showing whether replenishment is needed. | EnumWHSReplenDemandNoYes (enum) | No | None | |
ReplenLocationIdLocation to replenish. | StringWMSLocationId | No | None | |
RequestedTypeIdRequest type identifier. | StringWHSRequestTypeId | No | WHSRequestType.RequestTypeId | None |
ShipmentIdShipment the line relates to. | String (20)WHSShipmentId | No | WHSShipmentTable.ShipmentId | None |
sortCodeNumber used to sort work lines. | IntegerWMSSortCode | No | 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 | |
UseWorkForWaveReplenYes/No flag allowing wave demand to use unreserved quantities. | EnumWHSUseWorkForWaveReplenNoYes (enum) | 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 | |
WorkIdIdentifier of the work. | String (20)WHSWorkId | No | WHSWorkTable.WorkId | 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 (9)
WorkCreateIdWorkTemplateCodeIdxPrimary indexWorkCreateId,WorkTemplateCode,RecIdUnique.
InventLocationIdxNot unique.
WarehouseLocationTypeIdxWMSLocationId,InventLocationId,WorkType,ItemId,LocatedLPId,RecIdNot unique.
WaveIdxWaveId,WorkTransType,DemandWaveIdNot unique.
ReleaseToWarehouseIdIdxNot unique.
ShipmentIdIdxNot unique.
WorkCreateIdWorkIdxNot unique.
InventTransIdIdxInventTransId,InventDimId,WorkType,WaveId,InventQtyNot unique.
ContainerIdRefTableIdIdxNot unique.
Relations (45)
Each relation joins WHSTmpWorkLine to another table on the fields shown.
InventBatchId→InventBatchJoin on
InventBatchId = InventBatch.inventBatchId,ItemId = InventBatch.itemIdMany WHSTmpWorkLine records → zero or one InventBatch record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdOne or more WHSTmpWorkLine records → exactly one InventDim record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany WHSTmpWorkLine records → exactly one InventLocation record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdOne or more WHSTmpWorkLine records → exactly one InventTable record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdOne or more WHSTmpWorkLine records → exactly one InventTransOrigin record
KanbanJob→KanbanJobJoin on
WorkTransType = WHSWorkTransType::KanbanPut,InventTransId = KanbanJob.InventTransIdMany WHSTmpWorkLine records → zero or one KanbanJob record
ProdBOM→ProdBOMJoin on
OriginRefId = ProdBOM.ProdIdMany WHSTmpWorkLine records → zero or one ProdBOM record
ProdTable→ProdTableJoin on
OriginRefId = ProdTable.ProdIdMany WHSTmpWorkLine records → zero or one ProdTable record
ProdTableOrderNum→ProdTableJoin on
OrderNum = ProdTable.ProdIdMany WHSTmpWorkLine records → zero or one ProdTable record
PurchLine→PurchLineJoin on
WorkTransType = WHSWorkTransType::Purch,InventTransId = PurchLine.InventTransIdMany WHSTmpWorkLine records → zero or one PurchLine record
PurchTable→PurchTableJoin on
OriginRefId = PurchTable.PurchIdMany WHSTmpWorkLine records → zero or one PurchTable record
SalesLine→SalesLineJoin on
InventTransId = SalesLine.InventTransIdMany WHSTmpWorkLine records → exactly one SalesLine record
SalesTable→SalesTableJoin on
OriginRefId = SalesTable.SalesIdMany WHSTmpWorkLine records → zero or one SalesTable record
TMSCarrier→TMSCarrierJoin on
CarrierCode = TMSCarrier.CarrierCodeMany WHSTmpWorkLine records → zero or one TMSCarrier record
TMSMode→TMSModeJoin on
ModeCode = TMSMode.ModeCodeMany WHSTmpWorkLine records → zero or one TMSMode record
UnitOfMeasureDirective→UnitOfMeasureJoin on
DirectiveUOM = UnitOfMeasure.SymbolMany WHSTmpWorkLine records → exactly one UnitOfMeasure record
UnitOfMeasureHighest→UnitOfMeasureJoin on
HighestUnitId = UnitOfMeasure.SymbolMany WHSTmpWorkLine records → zero or one UnitOfMeasure record
WaveAttributeCode1→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute1,WaveAttributeCode[1] = WHSWaveAttributes.AttributeNumMany WHSTmpWorkLine records → zero or one WHSWaveAttributes record
WaveAttributeCode2→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute2,WaveAttributeCode[2] = WHSWaveAttributes.AttributeNumMany WHSTmpWorkLine records → zero or one WHSWaveAttributes record
WaveAttributeCode3→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute3,WaveAttributeCode[3] = WHSWaveAttributes.AttributeNumMany WHSTmpWorkLine records → zero or one WHSWaveAttributes record
WaveAttributeCode4→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute4,WaveAttributeCode[4] = WHSWaveAttributes.AttributeNumMany WHSTmpWorkLine records → zero or one WHSWaveAttributes record
WHSContainerTable→WHSContainerTableJoin on
HighestContainerId = WHSContainerTable.ContainerIdMany WHSTmpWorkLine records → zero or one WHSContainerTable record
WHSLicensePlate→WHSLicensePlateJoin on
LicensePlateId = WHSLicensePlate.LicensePlateIdMany WHSTmpWorkLine records → zero or one WHSLicensePlate record
WHSLoadLine→WHSLoadLineJoin on
RefTableId = WHSLoadLine.TableId,RefRecId = WHSLoadLine.RecIdMany WHSTmpWorkLine records → zero or one WHSLoadLine record
WHSLoadLineRefRedId→WHSLoadLineJoin on
LoadLineRefRecId = WHSLoadLine.RecIdMany WHSTmpWorkLine records → zero or one WHSLoadLine record
WHSLoadTable→WHSLoadTableJoin on
LoadId = WHSLoadTable.LoadIdMany WHSTmpWorkLine records → zero or one WHSLoadTable record
WHSRequestType→WHSRequestTypeJoin on
RequestedTypeId = WHSRequestType.RequestTypeIdMany WHSTmpWorkLine records → zero or one WHSRequestType record
WHSShipmentTable→WHSShipmentTableJoin on
ShipmentId = WHSShipmentTable.ShipmentIdMany WHSTmpWorkLine records → zero or one WHSShipmentTable record
WHSToWarehouse→InventLocationJoin on
ToWarehouse = InventLocation.InventLocationIdMany WHSTmpWorkLine records → zero or one InventLocation record
WHSWaveTable→WHSWaveTableJoin on
WaveId = WHSWaveTable.WaveIdMany WHSTmpWorkLine records → zero or one WHSWaveTable record
WHSWorkTable→WHSWorkTableJoin on
WorkId = WHSWorkTable.WorkIdMany WHSTmpWorkLine records → zero or one WHSWorkTable record
WHSZone→WHSZoneJoin on
ZoneId = WHSZone.ZoneIdMany WHSTmpWorkLine records → zero or one WHSZone record
WMSLocation→WMSLocationJoin on
WMSLocationId = WMSLocation.wMSLocationId,InventLocationId = WMSLocation.inventLocationIdMany WHSTmpWorkLine records → zero or one WMSLocation record
UnitOfMeasureImmediateReplenUnit→UnitOfMeasureJoin on
ImmediateReplenishmentUnitId = UnitOfMeasure.SymbolMany WHSTmpWorkLine records → zero or one UnitOfMeasure record
WHSDemandWave→WHSWaveTableJoin on
DemandWaveId = WHSWaveTable.WaveIdMany WHSTmpWorkLine records → zero or one WHSWaveTable record
InventTransOriginIdMarked→InventTransOriginJoin on
InventTransOriginIdSupply = InventTransOrigin.RecIdMany WHSTmpWorkLine records → zero or one InventTransOrigin record
WHSOutboundSortPosition→WHSOutboundSortPositionJoin on
OutboundSortPosition = WHSOutboundSortPosition.RecIdMany WHSTmpWorkLine records → zero or one WHSOutboundSortPosition record
WMSLocationSort→WMSLocationJoin on
OutboundSortLocationId = WMSLocation.wMSLocationId,InventLocationId = WMSLocation.inventLocationIdMany WHSTmpWorkLine records → zero or one WMSLocation record
InventQualityOrderTable→InventQualityOrderTableJoin on
InventQualityOrderId = InventQualityOrderTable.QualityOrderIdMany WHSTmpWorkLine records → zero or one InventQualityOrderTable record
InventTestAssociationTable→InventTestAssociationTableJoin on
InventTestAssociationTable = InventTestAssociationTable.RecIdMany WHSTmpWorkLine records → zero or one InventTestAssociationTable record
ITMGITOrder→ITMGoodsInTransitOrderJoin on
WorkTransType = WHSWorkTransType::ITMGoodsInTransit,InventTransId = ITMGoodsInTransitOrder.InventTransIdMany WHSTmpWorkLine records → zero or one ITMGoodsInTransitOrder record
WHSOutboundShipmentOrderLine→WHSOutboundShipmentOrderLineJoin on
WorkTransType = WHSWorkTransType::OutboundShipmentOrder,InventTransId = WHSOutboundShipmentOrderLine.InventTransIdMany WHSTmpWorkLine records → exactly one WHSOutboundShipmentOrderLine record
WHSOutboundShipmentOrder→WHSOutboundShipmentOrderJoin on
WorkTransType = WHSWorkTransType::OutboundShipmentOrder,OriginRefId = WHSOutboundShipmentOrder.OutboundShipmentOrderIdMany WHSTmpWorkLine records → zero or one WHSOutboundShipmentOrder record
WHSInboundShipmentOrderLine→WHSInboundShipmentOrderLineJoin on
WorkTransType = WHSWorkTransType::InboundShipmentOrder,InventTransId = WHSInboundShipmentOrderLine.InventTransIdMany WHSTmpWorkLine records → exactly one WHSInboundShipmentOrderLine record
WHSInboundShipmentOrder→WHSInboundShipmentOrderJoin on
WorkTransType = WHSWorkTransType::InboundShipmentOrder,OriginRefId = WHSInboundShipmentOrder.InboundShipmentOrderIdMany 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.