Table

WHSWorkLineCycleCount

Cycle Count Work

Holds cycle count details for warehouse work lines. Each record is identified by the work ID, line number, item and inventory dimensions. It stores expected and counted quantities and weights, and the accept or reject result. It also holds a link to adjustment work and a counting reason code.

Table name
WHSWorkLineCycleCount
Module
Inventory
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
WorkIdLineNumItemIdInventDimIdIdx
Replacement key
WorkIdLineNumItemIdInventDimIdIdx
Key fields
WorkId, LineNum, ItemId, InventDimId
Model
Foundation

Fields (22)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkIdThe work record the count belongs to.String (20)
WHSWorkId
YesWHSWorkTable.WorkIdWHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity
LineNumNumber of the work line the count belongs to.Real
LineNum
YesWHSWorkLine.LineNumWHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity
ItemIdThe item number being counted.String (20)
ItemId
YesInventTable.ItemIdWHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity
InventDimIdInventory dimensions that were counted.String (20)
InventDimId
YesInventDim.inventDimIdNone
AcceptRejectOutcome of the count: none, accept or reject.Enum
WHSAcceptReject (enum)
NoWHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity
AdjustmentWorkIdThe work record for the related adjustment.String (20)
WHSAdjustmentWorkId
NoWHSWorkTable.WorkIdWHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity
CapturedWeightWeight that was recorded during the count.Real
WHSCapturedWeight
NoNone
CountingReasonCodeReason code for the count, taken from the counting reason codes.String (20)
InventCountingReasonCodeId
NoInventCountingReasonCode.ReasonCodeNone
CycleCountCountedYes/No flag for whether counting is completed.Enum
WHSCycleCountCounted
NoYes (enum)
NoWHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity
CycleCountReconcileYes/No flag for whether the count is reconciled.Enum
WHSCycleCountReconcile
NoYes (enum)
NoWHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExpectedWeightWeight that was expected.Real
WHSExpectedWeight
NoNone
LocationLicensePlatePositionPosition of the license plate at the location.Integer
WHSLocationLicensePlatePosition
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QtyCountedQuantity that was counted.Real
WHSQtyCounted
NoWHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity
QtyExpectedQuantity that was expected.Real
WHSQtyExpected
NoWHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity
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
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

Indexes (3)

Relations (6)

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

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    One or more WHSWorkLineCycleCount records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    One or more WHSWorkLineCycleCount records → exactly one InventTable record

  • WHSWorkLine → WHSWorkLine

    Join on LineNum = WHSWorkLine.LineNum, WorkId = WHSWorkLine.WorkId

    Many WHSWorkLineCycleCount records → exactly one WHSWorkLine record

  • WHSWorkTable → WHSWorkTable

    Join on WorkId = WHSWorkTable.WorkId

    One or more WHSWorkLineCycleCount records → exactly one WHSWorkTable record

  • WHSWorkTableAdjust → WHSWorkTable

    Join on AdjustmentWorkId = WHSWorkTable.WorkId

    Many WHSWorkLineCycleCount records → zero or one WHSWorkTable record

  • InventCountingReasonCode → InventCountingReasonCode

    Join on CountingReasonCode = InventCountingReasonCode.ReasonCode

    Many WHSWorkLineCycleCount records → zero or one InventCountingReasonCode record

Get this data out

Tables are not exposed directly. These public entities read from WHSWorkLineCycleCount; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk