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 descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
WarehouseWorkOrderTypeType of work order that the template line applies to.Enum
WHSWorkTransType
  • None 0
  • Purch 1
  • Sales 2
  • ProdPick 3
  • ProdPut 4
  • ProdProcessPut 16
  • TransferIssue 5
  • TransferReceipt 6
  • Invent 7
  • WorkCancel 8
  • CycleCount 10
  • Replenishment 11
  • ReturnOrder 12
  • KanbanPut 14
  • KanbanPick 13
  • CycleCountAccepted 15
  • PackedContainerPicking 17
  • SortedInventoryPicking 18
  • CrossDocking 19
  • QualityInQualityCheck 20
  • QualityItemSampling 21
  • QualityOrder 22
  • Packing 23
  • ITMGoodsInTransit
  • OutboundShipmentOrder
  • InboundShipmentOrder
YesYesWHSWorkTemplateTable.WorkTransTypeWHSWorkTemplateLine.WorkTransType
WarehouseWorkTemplateIdWork template that this line belongs to.String (20)
WHSWorkTemplateCode
YesYesWHSWorkTemplateLine.WorkTemplateCode
LineNumberLine number that orders the steps in the template.Real
LineNum
YesYesWHSWorkTemplateLine.LineNum
WorkOrderLineTypeKind of work this line does, such as pick, put, counting or print.Enum
WHSWorkType
  • None 0
  • Pick 1
  • Put 2
  • Count 3
  • Adjustment 4
  • Custom 5
  • Quarantine 6
  • LicensePlateBuild 7
  • Print 8
  • StatusChange 9
  • PackToNestedLicensePlate 10
  • QualityCheck 11
YesYesWHSWorkTemplateLine.WorkType
CustomWorkOrderLineTypeCustom work type used on this line.String (20)
WHSWorkTypeCustomCode
NoYesWHSWorkTypeCustom.WorkTypeCustomCodeWHSWorkTemplateLine.WorkTypeCustomCode
IsWorkLineMandatoryYes/No flag showing whether this line is mandatory.Enum
WHSMandatory
NoYes

Platform enum: values not in the metadata extract.

NoYesWHSWorkTemplateLine.Mandatory
IsWorkExecutionStoppedYes/No flag for stopping the work at this line.Enum
WHSWorkStop
NoYes

Platform enum: values not in the metadata extract.

NoYesWHSWorkTemplateLine.WorkStop
CanFreezeWorkYes/No flag for freezing the work line.Enum
WHSFreeze
NoYes

Platform enum: values not in the metadata extract.

NoYesWHSWorkTemplateLine.Freeze
WarehouseLocationDirectiveCodeDirective code linked to this line.String (20)
WHSLocDirHintCode
NoYesWHSLocDirHint.LocDirHintCodeWHSWorkTemplateLine.LocDirHintCode
WarehouseWorkClassIdWork class assigned to this line.String
WHSWorkClassId
YesYesWHSWorkTemplateLine.WorkClassId
QualityCheckTemplateIdQuality check template linked to this line.String (20)
WHSQualityCheckTemplateName
NoYesWHSQualityCheckTemplate.QualityCheckTemplateNameWHSWorkTemplateLine.QualityCheckTemplateName
WarehouseAnchoringGroupIdAnchoring group linked to this line.String (20)
WHSAnchoringGroupId
NoYesWHSAnchoringGroupTable.AnchoringGroupIdWHSWorkTemplateLine.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.WorkTemplateCode

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

Email sales@drdynamics.co.uk