Data entity
WHSWarehouseWorkTemplateLineEntity
Holds the lines of a work template. The key is the template ID, line number and work order type. Each line has a work type, an optional custom work type, a directive code and a work class ID. It also has flags for mandatory, stop work and freeze, a quality check template name and an anchoring group ID.
- Entity name
WHSWarehouseWorkTemplateLineEntity- Public entity name
WarehouseWorkTemplateLine- OData collection
WarehouseWorkTemplateLines- Category
Not set- Module
WMS- Read-only
No- Data management enabled
Yes- Configuration key
WHSandTMS- Keys
WarehouseWorkTemplateId, LineNumber, WarehouseWorkOrderType- Staging table
WHSWarehouseWorkTemplateLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/WarehouseWorkTemplateLines- Dataverse virtual table
mserp_whswarehouseworktemplatelineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
WHSWorkTemplateLine· root
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
WarehouseWorkOrderTypeType of work order that the template line applies to. | Enum
| Yes | Yes | WHSWorkTemplateTable.WorkTransType | WHSWorkTemplateLine.WorkTransType |
WarehouseWorkTemplateIdWork template that this line belongs to. | String (20)WHSWorkTemplateCode | Yes | Yes | WHSWorkTemplateLine.WorkTemplateCode | |
LineNumberLine number that orders the steps in the template. | RealLineNum | Yes | Yes | WHSWorkTemplateLine.LineNum | |
WorkOrderLineTypeKind of work this line does, such as pick, put, counting or print. | Enum
| Yes | Yes | WHSWorkTemplateLine.WorkType | |
CustomWorkOrderLineTypeCustom work type used on this line. | String (20)WHSWorkTypeCustomCode | No | Yes | WHSWorkTypeCustom.WorkTypeCustomCode | WHSWorkTemplateLine.WorkTypeCustomCode |
IsWorkLineMandatoryYes/No flag showing whether this line is mandatory. | EnumWHSMandatory
| No | Yes | WHSWorkTemplateLine.Mandatory | |
IsWorkExecutionStoppedYes/No flag for stopping the work at this line. | EnumWHSWorkStop
| No | Yes | WHSWorkTemplateLine.WorkStop | |
CanFreezeWorkYes/No flag for freezing the work line. | EnumWHSFreeze
| No | Yes | WHSWorkTemplateLine.Freeze | |
WarehouseLocationDirectiveCodeDirective code linked to this line. | String (20)WHSLocDirHintCode | No | Yes | WHSLocDirHint.LocDirHintCode | WHSWorkTemplateLine.LocDirHintCode |
WarehouseWorkClassIdWork class assigned to this line. | StringWHSWorkClassId | Yes | Yes | WHSWorkTemplateLine.WorkClassId | |
QualityCheckTemplateIdQuality check template linked to this line. | String (20)WHSQualityCheckTemplateName | No | Yes | WHSQualityCheckTemplate.QualityCheckTemplateName | WHSWorkTemplateLine.QualityCheckTemplateName |
WarehouseAnchoringGroupIdAnchoring group linked to this line. | String (20)WHSAnchoringGroupId | No | Yes | WHSAnchoringGroupTable.AnchoringGroupId | WHSWorkTemplateLine.AnchoringGroupId |
Foreign keys (5)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
WarehouseWorkOrderType→WHSWorkTemplateTable.WorkTransType(key of WHSWorkTemplateTable)Join on all of:
WarehouseWorkOrderType=WHSWorkTemplateTable.WorkTransType,WarehouseWorkTemplateId=WHSWorkTemplateTable.WorkTemplateCodeMany WHSWorkTemplateLine records → exactly one WHSWorkTemplateTable record
WHSWorkTemplateTable details: see WHSWarehouseWorkTemplateV3Entity, WHSWarehouseWorkTemplateWorkBreakEntity
CustomWorkOrderLineType→WHSWorkTypeCustom.WorkTypeCustomCode(key of WHSWorkTypeCustom)Many WHSWorkTemplateLine records → zero or one WHSWorkTypeCustom record
WHSWorkTypeCustom details: see WHSCustomWarehouseWorkTypeEntity
WarehouseLocationDirectiveCode→WHSLocDirHint.LocDirHintCode(key of WHSLocDirHint)Many WHSWorkTemplateLine records → zero or one WHSLocDirHint record
WHSLocDirHint details: see WHSWarehouseLocationDirectiveCodeEntity
QualityCheckTemplateId→WHSQualityCheckTemplate.QualityCheckTemplateName(key of WHSQualityCheckTemplate)Many WHSWorkTemplateLine records → zero or one WHSQualityCheckTemplate record
WHSQualityCheckTemplate details: see WHSQualityCheckTemplateEntity
WarehouseAnchoringGroupId→WHSAnchoringGroupTable.AnchoringGroupId(key of WHSAnchoringGroupTable)Many WHSWorkTemplateLine records → exactly one WHSAnchoringGroupTable record
WHSAnchoringGroupTable details: see WHSWarehouseAnchoringGroupEntity
Need help with WHSWarehouseWorkTemplateLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.