Table

WHSWorkTableHistory

Archived work table records

Archive of work header records, keyed by work ID. Each row keeps the details of the work when it was archived. These include its status, type, warehouse, site, wave, load, shipment, times and users. Archived work lines link to it.

Table name
WHSWorkTableHistory
Module
Inventory
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
WorkIdx
Replacement key
WorkIdx
Key fields
WorkId
Model
Foundation

Fields (61)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkIdID of the archived work.String (20)
WHSWorkId
YesNone
ActualTimeTime the work actually took.Real
WHSActualTime
NoNone
AutoExecuteYes/no flag showing whether the work is processed automatically.Enum
WHSAutoExecute
NoYes (enum)
NoNone
CancelReplenWhenDemandCanceledYes/no flag to cancel replenishment when its demand is canceled.Enum
WHSCancelReplenWhenDemandCanceled
NoYes (enum)
NoNone
ClusterProfileIdCluster profile used for the work.String (20)
WHSClusterProfileId
NoNone
CombinedWorkIdID of the combined work that this work was merged into.String (20)
WHSCombinedWorkId
NoNone
ContainerIdID of the container.String (25)
WHSContainerId
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CycleCountPlanOverviewSystem record ID of the cycle count plan overview.Int64
RefRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DispositionCodeDisposition code of the work.String (20)
WHSDispositionCode
NoNone
EstimatedTimeTime expected for the work.Real
WHSEstimatedTime
NoNone
ExecutedWithoutUserLocationYes/no flag. The name suggests the work ran without a user location, but the metadata is not clear.low confidenceEnum
WHSExecutedWithoutUserLocation
NoYes (enum)
NoNone
FrozenYes/no flag showing whether the wave is blocked.Enum
WHSFrozen
NoYes (enum)
NoNone
HasWorkLineLoadLineDetailsYes/no flag showing whether work lines have load line details.Enum
WHSWorkTableHasWorkLineLoadLineDetails
NoYes (enum)
NoNone
ImmediateReplenishmentUnitIdUnit of measure used for immediate replenishment.String
UnitOfMeasureSymbol
NoNone
InventJournalIdInventory journal linked to the work.String (20)
InventJournalId
NoNone
InventLocationIdWarehouse of the work.String
InventLocationId
YesNone
InventoryAdjustmentJournalIdWarehouse inventory adjustment journal linked to the work.String (20)
WHSInventoryAdjustmentJournalId
NoNone
InventoryTransactionMechanismWhether the work uses inventory transactions or warehouse-specific inventory transactions.Enum
WHSInventoryTransactionMechanism
WHSInventoryTransactionMechanismEnum (enum)
NoNone
InventQualityOrderIdQuality order linked to the work.String (20)
InventQualityOrderId
NoNone
InventSiteIdSite of the work.String
InventSiteId
YesNone
IsGTDIssueSupport_RUYes/no flag used for Russia. Its exact meaning is not stated in the metadata.low confidenceEnum
NoYes (enum)
NoNone
IsPartialCycleCountWorkYes/no flag showing whether this is a partial cycle count.Enum
WHSIsPartialCycleCountWork
NoYes (enum)
NoNone
ITMGoodsInTransitIdNumber of the goods in transit record.String (20)
ITMGoodsInTransitId
NoNone
ITMRegisteredLicensePlateIdRegistered target license plate ID.String (25)
WHSTargetLicensePlateId
NoNone
LoadIdLoad linked to the work.String (20)
WHSLoadId
NoNone
LockedUserUser who has locked the work.String
WHSLockedUser
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OrderNumNumber of the related order.String (20)
WHSOrderNum
NoNone
PackingWorkRemainingQtyCalculationMechanismChooses whether packing work remaining quantity is based on work quantity or remaining inventory quantity.Enum
WHSPackingWorkRemainingQtyCalculationMechanism (enum)
NoNone
ParkedAtLocationIdLocation where the work has been left parked. Blank if the work is not parked.String
WHSParkedAtLocationId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
ReplenishmentDependentWorkBlockingPolicyWhether replenishment blocks the entire work order or only individual work lines.Enum
WHSReplenishmentDependentWorkBlockingPolicy (enum)
NoNone
ShipmentIdShipment linked to the work.String (20)
WHSShipmentId
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TargetLicensePlateIdLicense plate that the work targets.String (25)
WHSTargetLicensePlateId
NoNone
TransTxtDescription of the work.String (60)
TransTxt
NoNone
UserManuallyAssignedYes/no flag showing whether a user was assigned by hand.Enum
WHSUserManuallyAssigned
NoYes (enum)
NoNone
UseWorkForWaveReplenYes/no flag allowing wave demand to use unreserved quantities.Enum
WHSUseWorkForWaveReplen
NoYes (enum)
NoNone
WarehouseInventoryTransactionGroupingMechanismWhether warehouse inventory transactions are grouped or ungrouped.Enum
WHSWarehouseInventoryTransactionGroupingMechanism (enum)
NoNone
WaveIdWave that the work belongs to.String (20)
WHSWaveId
NoNone
WorkBuildIdNumber of the work creation run that built the work.String (20)
WHSWorkBuildId
NoNone
WorkCancelledByUserUser who canceled the work.String
WHSWorkCancelledByUser
NoNone
WorkCancelledUTCDateTimeDate and time when the work was canceled.UtcDateTime
WHSWorkCancelledUTCDateTime
NoNone
WorkClosedUTCDateTimeDate and time when the work was closed.UtcDateTime
WHSWorkClosedUTCDateTime
NoNone
WorkCountErrorShort error message from a counting work.String (30)
WHSWorkCountError
NoNone
WorkCreatedByUser who created the work.String
UserId
NoNone
WorkCreationFailedOnReservationYes/no flag showing that work creation failed because of a reservation.Enum
WHSWorkCreationFailedOnReservation
NoYes (enum)
NoNone
WorkInProcessUTCDateTimeDate and time when the work went into process.UtcDateTime
WHSWorkInProcessUTCDateTime
NoNone
WorkIsMultiSKUYes/no flag showing whether the work covers several SKUs.Enum
WHSWorkIsMultiSKU
NoYes (enum)
NoNone
WorkManuallyCompletedByUser who completed the work by hand.String
WHSWorkManuallyCompletedBy
NoNone
WorkPoolIdWork pool of the work.String (20)
WHSWorkPoolId
NoNone
WorkPriorityPriority number of the work.Integer
WHSWorkPriority
NoNone
WorkStatusStatus of the work: open, in process, pending review, skipped, closed, canceled or combined.Enum
WHSWorkStatus (enum)
NoNone
WorkTemplateCodeWork template used to create the work.String (20)
WHSWorkTemplateCode
NoNone
WorkTransTypeOrder type of the work, such as purchase orders, sales orders or transfer issue.Enum
WHSWorkTransType (enum)
YesNone

Indexes (1)

  • WorkIdxPrimary indexReplacement key

    WorkId

    Unique, alternate key.

Get this data out

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

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

Email sales@drdynamics.co.uk