BeyondERP.Newsletter
Menu

Setup step on the Work templates page · Warehouse management

Set up Work templates

Use this page to define what work is performed and how it is done for each work order type.

Used by
Warehouse planner, Warehouse manager
Business process
Manage warehouse operations
Menu item
WHSWorkTemplateTable
Main table
WHSWorkTemplateTable
Data entity
WHSWarehouseWorkTemplateV2Entity
Setup steps
1 on this page
Show what matters for
SETUP GUIDEHow to set it up8 sections. Choose a role to highlight what matters to you.
Everyone

1What it is and why

What it isA setup page where you define the work operations that must be performed in the warehouse, using a template header and lines for each work order type.
What you do hereUse this page to define what work is performed and how it is done for each work order type.
ExampleFor example, you can set a maximum number of pick lines and a maximum expected pick time, so that larger work is split into two pieces of work.
Work templates page in Dynamics 365
The page in Dynamics 365. page title tab to open what to set or check
Functional consultant · Solution architect

2Where it fits

Business processManage warehouse operations
Menu pathWarehouse management › Setup › Work › Work templates
Set up firstWork pools Microsoft Learn
Related pagesLocation directives Microsoft Learn Dynamic work classification rules Microsoft Learn
In this process Set up Warehouse groups · Set up Subscriptions
End user · Functional consultant

3How to do it

About the examples: Examples and screenshots in this guide use BEAT, a demo company in a Dynamics 365 test environment. Use your own company's codes and values instead of copying them.

Setup steps on this page

Set up Work templates

Use this page to define what work is performed and how it is done for each work order type.

Steps from Microsoft

  1. Go to Warehouse management > Setup > Work > Work templates.
  2. In the Work order type field, select the work order type.
  3. Select New to add a template, then enter a sequence number, a work template name and a description.
  4. Set the Work pool ID and the Work priority.
  5. Select Save, then select Edit query to limit when the template is used.
  6. In the Work Template Details section, select New to add the pick line and the put line, each with a work class ID.
  7. Select Save.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansTable column
Work order typeThe type of work the template is for. Many work order types are tied to source documents such as purchase or sales orders.Microsoft Learn
Sequence numberThe sequence in which the work templates are evaluated.Microsoft Learn WorkTemplatePriority
Work templateThe unique identifier for the template.Microsoft Learn WorkTemplateCode
Work pool IDOrganises work into groups. It is the default for any work created with the template.Microsoft Learn WorkPoolId
Work priorityThe importance of the work. It is the default for any work created with the template.Microsoft Learn DefaultWorkPriority
Work class IDEach pick and put pair on the template uses the same work class.Microsoft Learn WorkClassId
Directive codeLinks a template line to a location directive, so the work is processed in the correct location.Microsoft Learn LocDirHintCode

Common errors and fixes

MessageWhat to do
You can't create a work template line for Inventory status change because the work type isn't valid. Select a different work type.Use Pick and Put (or another allowed) work type; inventory status change is handled by system processes. Microsoft Learn

Test checklist

  1. Check the Valid check box is selected after saving a pick and put pair.
  2. Release two sales orders for the same warehouse with Work header breaks on order number.
  3. Check two work headers are created, each with a pick line and a put line using the expected directive code.
  4. Release an order over the maximum pick lines and check the work is split.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Set up Work templatesGive specific templates (narrow query) low sequence numbers and general ones higher numbers; use Work header breaks, for example by order number, and maximum pick lines or pick time to split large workTemplates are assessed in sequence order, so a specific query must be evaluated before general ones; header breaks and limits decide when a new work record is created.Selecting Inventory status change as the work type on a template line; it's reserved for system processes and is rejected.
Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own records. Microsoft data model
Can it be undoneReversible: Templates can be edited at any time; changes apply to work created afterwards, not to open work.
Technical architect

6Technical

Menu itemWHSWorkTemplateTable Checked in Dynamics 365
FormWHSWorkTemplateTable Checked in Dynamics 365
TableWHSWorkTemplateTableShown as “WORK TEMPLATES” in Record infoKey field: WorkTemplateCodeChecked in Dynamics 365
Data entitiesWHSWarehouseWorkTemplateV2EntityWarehouse work template V2 Microsoft data model
Who can open itPrivilegesMaintain work templates WHSWorkTemplateTableMaintainView work templates WHSWorkTemplateTableViewDutiesInquire into warehouse planning master data WHSWarehousePlanningMasterInquireRecord warehouse planning masters WHSWarehousePlanningMasterMaintain
2 security rolesWarehouse planner WHSWarehousePlannerWarehouse manager WMSWarehouseManager
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itWarehouse manager WMSWarehouseManagerWarehouse planner WHSWarehousePlannerGive people one of these roles. On this system, 2 roles can open this page.Checked in Dynamics 365
Actions on the page(Action Pane without tabs): Move up, Move down, Edit query, Work header breaks, Copy, Regenerate sequence numbersChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=WHSWorkTemplateTable
Integrate withWHSWarehouseWorkTemplateV2Entity data entity Microsoft data model
Data migrationWHSWarehouseWorkTemplateV2Entity (Warehouse work template V2): loaded for each company, in Microsoft's default template 400 - Warehouse management.Load order: Microsoft's default template 400 - Warehouse management loads Warehouse work template V2 at execution unit 1, level 40, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: Units, Warehouse work pools, the default templates at lower levels (System setup to dependency bands 30 to 90)Microsoft Learn
Table definitionWHSWorkTemplateTable columns and relations Microsoft data model
Everyone

8Sources