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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WorkIdThe work record the count belongs to. | String (20)WHSWorkId | Yes | WHSWorkTable.WorkId | WHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity |
LineNumNumber of the work line the count belongs to. | RealLineNum | Yes | WHSWorkLine.LineNum | WHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity |
ItemIdThe item number being counted. | String (20)ItemId | Yes | InventTable.ItemId | WHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity |
InventDimIdInventory dimensions that were counted. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
AcceptRejectOutcome of the count: none, accept or reject. | EnumWHSAcceptReject (enum) | No | WHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity | |
AdjustmentWorkIdThe work record for the related adjustment. | String (20)WHSAdjustmentWorkId | No | WHSWorkTable.WorkId | WHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity |
CapturedWeightWeight that was recorded during the count. | RealWHSCapturedWeight | No | None | |
CountingReasonCodeReason code for the count, taken from the counting reason codes. | String (20)InventCountingReasonCodeId | No | InventCountingReasonCode.ReasonCode | None |
CycleCountCountedYes/No flag for whether counting is completed. | EnumWHSCycleCountCountedNoYes (enum) | No | WHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity | |
CycleCountReconcileYes/No flag for whether the count is reconciled. | EnumWHSCycleCountReconcileNoYes (enum) | No | WHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ExpectedWeightWeight that was expected. | RealWHSExpectedWeight | No | None | |
LocationLicensePlatePositionPosition of the license plate at the location. | IntegerWHSLocationLicensePlatePosition | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QtyCountedQuantity that was counted. | RealWHSQtyCounted | No | WHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity | |
QtyExpectedQuantity that was expected. | RealWHSQtyExpected | No | WHSCycleCountingWarehouseWorkLineV3EntityWHSCycleCountingWarehouseWorkLineV2EntityWHSCycleCountingWarehouseWorkLineEntity | |
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 | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
WorkIdLineNumItemIdInventDimIdIdxPrimary indexReplacement keyWorkId,LineNum,ItemId,InventDimIdUnique, alternate key.
AdjustmentWorkIdxNot unique.
AcceptRejectDimIdIdxNot unique.
Relations (6)
Each relation joins WHSWorkLineCycleCount to another table on the fields shown.
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdOne or more WHSWorkLineCycleCount records → exactly one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdOne or more WHSWorkLineCycleCount records → exactly one InventTable record
WHSWorkLine→WHSWorkLineJoin on
LineNum = WHSWorkLine.LineNum,WorkId = WHSWorkLine.WorkIdMany WHSWorkLineCycleCount records → exactly one WHSWorkLine record
WHSWorkTable→WHSWorkTableJoin on
WorkId = WHSWorkTable.WorkIdOne or more WHSWorkLineCycleCount records → exactly one WHSWorkTable record
WHSWorkTableAdjust→WHSWorkTableJoin on
AdjustmentWorkId = WHSWorkTable.WorkIdMany WHSWorkLineCycleCount records → zero or one WHSWorkTable record
InventCountingReasonCode→InventCountingReasonCodeJoin on
CountingReasonCode = InventCountingReasonCode.ReasonCodeMany 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.
WHSCycleCountingWarehouseWorkLineV3Entity· 9 fields from this tableWHSCycleCountingWarehouseWorkLineV2Entity· 9 fields from this tableWHSCycleCountingWarehouseWorkLineEntity· 9 fields from this table
Need help with WHSWorkLineCycleCount in a report, an integration or a migration? Talk to Dr Dynamics.