Table
WHSWorkTemplateClassificationRule
Dynamic work classification rules
Holds dynamic work classification rules, one record per rule ID. Each rule has a Power Fx formula, an optional formula for the initial work line and a scope. It can also be linked to a work reclassification schedule.
- Table name
WHSWorkTemplateClassificationRule- Module
Cross-module and platform- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
WorkTemplateClassificationRuleIdIdx- Replacement key
None- Key fields
WorkTemplateClassificationRuleId- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WorkTemplateClassificationRuleIdUnique ID of the classification rule. | String (20)WHSWorkTemplateClassificationRuleId | Yes | WHSWarehouseWorkTemplateClassificationRuleEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionFree-text description of the rule. | String (255)Description255 | No | WHSWarehouseWorkTemplateClassificationRuleEntity | |
FormulaPower Fx formula that the rule uses. | String (-1)WHSWorkTemplateClassificationRulePowerFxFormula | No | WHSWarehouseWorkTemplateClassificationRuleEntity | |
InitialWorkLineFormulaPower Fx formula used for the initial work line. | String (-1)WHSWorkTemplateClassificationRulePowerFxFormula | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
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 | |
ReclassificationScheduleThe work reclassification schedule linked to the rule. | String (20)WHSWorkReclassificationScheduleId | No | WHSWorkReclassificationSchedule.ScheduleId | WHSWarehouseWorkTemplateClassificationRuleEntity |
ReclassifyOnLoadUpdateYes/No flag for whether work is reclassified when the load is updated. | EnumNoYesIdNoYes (enum) | No | WHSWarehouseWorkTemplateClassificationRuleEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RuleScopeSays what the rule covers: work only, or work and initial work lines. | EnumWhsWorkTemplateClassificationRuleScope (enum) | 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 (2)
WorkTemplateClassificationRuleIdIdxPrimary indexWorkTemplateClassificationRuleIdUnique, alternate key.
ReclassificationScheduleIdxNot unique.
Relations (1)
Each relation joins WHSWorkTemplateClassificationRule to another table on the fields shown.
WHSWorkReclassificationSchedule→WHSWorkReclassificationScheduleJoin on
ReclassificationSchedule = WHSWorkReclassificationSchedule.ScheduleIdMany WHSWorkTemplateClassificationRule records → zero or one WHSWorkReclassificationSchedule record
Get this data out
Tables are not exposed directly. These public entities read from WHSWorkTemplateClassificationRule; use one of them in Power BI, Power Platform or a data management project.
WHSWarehouseWorkTemplateClassificationRuleEntity· 5 fields from this table
Need help with WHSWorkTemplateClassificationRule in a report, an integration or a migration? Talk to Dr Dynamics.