Table
WHSCycleCountPlanProductSelection
Cycle count plan product selections
Holds the product selection lines of a cycle count plan. Each row is identified by the plan ID and a sequence number. It stores whether products or product variants are selected, with the matching query.
- Table name
WHSCycleCountPlanProductSelection- Module
Inventory- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
CycleCountPlanIdSequenceNumberIdx- Replacement key
CycleCountPlanIdSequenceNumberIdx- Key fields
CycleCountPlanId, SequenceNumber- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CycleCountPlanIdCycle count plan that this line belongs to. Points to the Cycle count plans table. | String (20)WHSCycleCountPlanId | Yes | WHSCycleCountPlan.CycleCountPlanId | WHSCycleCountingPlanProductSelectionV2Entity |
SequenceNumberNumber that sets the position of the line within the plan. | IntegerWHSCycleCountPlanProductSelectionSequenceNumber | Yes | WHSCycleCountingPlanProductSelectionV2Entity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort text that describes the selection line. | String (80)WHSCycleCountPlanProductSelectionDescription | No | WHSCycleCountingPlanProductSelectionV2Entity | |
ItemQuerySaved query, stored in packed form, that selects products. | ContainerWHSItemQuery | No | WHSCycleCountingPlanProductSelectionV2Entity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProductSelectionModeChoice between selecting by product query or by product variant query. | EnumWHSCycleCountProductSelectionMode (enum) | No | WHSCycleCountingPlanProductSelectionV2Entity | |
ProductVariantQuerySaved query, stored in packed form, that selects product variants. | ContainerWHSProductVariantQuery | No | WHSCycleCountingPlanProductSelectionV2Entity | |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
CycleCountPlanIdSequenceNumberIdxPrimary indexReplacement keyCycleCountPlanId,SequenceNumberUnique, alternate key.
Relations (1)
Each relation joins WHSCycleCountPlanProductSelection to another table on the fields shown.
WHSCycleCountPlan→WHSCycleCountPlanJoin on
CycleCountPlanId = WHSCycleCountPlan.CycleCountPlanIdMany WHSCycleCountPlanProductSelection records → exactly one WHSCycleCountPlan record
Get this data out
Tables are not exposed directly. These public entities read from WHSCycleCountPlanProductSelection; use one of them in Power BI, Power Platform or a data management project.
WHSCycleCountingPlanProductSelectionV2Entity· 6 fields from this table
Need help with WHSCycleCountPlanProductSelection in a report, an integration or a migration? Talk to Dr Dynamics.