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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CycleCountPlanIdCycle count plan that this line belongs to. Points to the Cycle count plans table.String (20)
WHSCycleCountPlanId
YesWHSCycleCountPlan.CycleCountPlanIdWHSCycleCountingPlanProductSelectionV2Entity
SequenceNumberNumber that sets the position of the line within the plan.Integer
WHSCycleCountPlanProductSelectionSequenceNumber
YesWHSCycleCountingPlanProductSelectionV2Entity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort text that describes the selection line.String (80)
WHSCycleCountPlanProductSelectionDescription
NoWHSCycleCountingPlanProductSelectionV2Entity
ItemQuerySaved query, stored in packed form, that selects products.Container
WHSItemQuery
NoWHSCycleCountingPlanProductSelectionV2Entity
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProductSelectionModeChoice between selecting by product query or by product variant query.Enum
WHSCycleCountProductSelectionMode (enum)
NoWHSCycleCountingPlanProductSelectionV2Entity
ProductVariantQuerySaved query, stored in packed form, that selects product variants.Container
WHSProductVariantQuery
NoWHSCycleCountingPlanProductSelectionV2Entity
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (1)

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

  • WHSCycleCountPlan → WHSCycleCountPlan

    Join on CycleCountPlanId = WHSCycleCountPlan.CycleCountPlanId

    Many 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.

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

Email sales@drdynamics.co.uk