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 descriptionType / EDT / enumMandatoryReferencesIn public entities
WorkTemplateClassificationRuleIdUnique ID of the classification rule.String (20)
WHSWorkTemplateClassificationRuleId
YesWHSWarehouseWorkTemplateClassificationRuleEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionFree-text description of the rule.String (255)
Description255
NoWHSWarehouseWorkTemplateClassificationRuleEntity
FormulaPower Fx formula that the rule uses.String (-1)
WHSWorkTemplateClassificationRulePowerFxFormula
NoWHSWarehouseWorkTemplateClassificationRuleEntity
InitialWorkLineFormulaPower Fx formula used for the initial work line.String (-1)
WHSWorkTemplateClassificationRulePowerFxFormula
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
ReclassificationScheduleThe work reclassification schedule linked to the rule.String (20)
WHSWorkReclassificationScheduleId
NoWHSWorkReclassificationSchedule.ScheduleIdWHSWarehouseWorkTemplateClassificationRuleEntity
ReclassifyOnLoadUpdateYes/No flag for whether work is reclassified when the load is updated.Enum
NoYesId
NoYes (enum)
NoWHSWarehouseWorkTemplateClassificationRuleEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RuleScopeSays what the rule covers: work only, or work and initial work lines.Enum
WhsWorkTemplateClassificationRuleScope (enum)
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 (2)

Relations (1)

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

  • WHSWorkReclassificationSchedule → WHSWorkReclassificationSchedule

    Join on ReclassificationSchedule = WHSWorkReclassificationSchedule.ScheduleId

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

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

Email sales@drdynamics.co.uk