Table
WHSWorkTemplateGroup
Work template grouping
Stores the fields that a work template uses to group work. Each line points to a work template and names one table field, with a Yes/No flag for grouping by it. The key is the template reference plus a line number.
- Table name
WHSWorkTemplateGroup- Module
Inventory- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
RefRecIdLineNumIdx- Replacement key
RefRecIdLineNumIdx- Key fields
RefRecId, LineNum- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RefRecIdWork template that this grouping line belongs to. | Int64RefRecId | Yes | WHSWorkTemplateTable.RecId | WHSWarehouseWorkTemplateWorkBreakEntity |
LineNumLine number that orders the records for one template. | RealLineNum | Yes | WHSWarehouseWorkTemplateWorkBreakEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
GroupFieldIdID of the table field used for grouping. | IntegerRefFieldId | Yes | WHSWarehouseWorkTemplateWorkBreakEntity | |
GroupTableIdID of the table that holds the grouping field. | IntegerRefTableId | Yes | WHSWarehouseWorkTemplateWorkBreakEntity | |
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 | |
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 | |
WorkGroupByYes/No flag showing whether work is grouped by this field. | EnumWHSWorkGroupByNoYes (enum) | No | WHSWarehouseWorkTemplateWorkBreakEntity |
Indexes (2)
RefRecIdGroupTableIdGroupFieldIdRefRecId,GroupTableId,GroupFieldIdUnique, alternate key.
RefRecIdLineNumIdxPrimary indexReplacement keyUnique, alternate key.
Relations (1)
Each relation joins WHSWorkTemplateGroup to another table on the fields shown.
WHSWorkTemplateTable→WHSWorkTemplateTableJoin on
RefRecId = WHSWorkTemplateTable.RecIdMany WHSWorkTemplateGroup records → exactly one WHSWorkTemplateTable record
Get this data out
Tables are not exposed directly. These public entities read from WHSWorkTemplateGroup; use one of them in Power BI, Power Platform or a data management project.
WHSWarehouseWorkTemplateWorkBreakEntity· 5 fields from this table
Need help with WHSWorkTemplateGroup in a report, an integration or a migration? Talk to Dr Dynamics.