BeyondERP.Newsletter
Menu

Setup step on the Working time templates page · Production control

Use working time templates for production shifts

Use this page to define each shift pattern once, then generate calendar working times from it.

See how to set it up Back to Production control

Used by
Payroll administrator, Payroll manager, Production manager and 5 more roles
Business process
Develop production processes
Menu item
WorkTimeTable
Main table
WorkTimeTable
Data entity
WorkCalendarTimeTemplateEntity
Setup steps
2 on this page

How this guide was checked

Checked in Dynamics 365
Version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.
Recommended values
Based on Microsoft's documentation. A sound starting point to adjust to your own business requirements.
Tests
A ready-to-run test, “Template hours reach the calendar”, to confirm this setup in your own test environment.
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 a weekly pattern of working hours that is used to generate working times in calendars.
What you do hereUse this page to set the working hours for each day of the week, including breaks and special time slots, before you build calendars.
ExampleFor example, you can set Monday's hours as two periods split by a lunch break and then copy Monday to the other weekdays.
Working time 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 processDevelop production strategies › Develop production processes
Menu pathProduction control › Setup › Calendars › Working time templates
Set up firstProperties Microsoft Learn
Used next byCalendars Microsoft Learn
Related pagesResource groups Microsoft Learn
In this process Use calendars for production scheduling
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.

Step by step, with screenshots

Use working time templates for production shifts

Use this page to define each shift pattern once, then generate calendar working times from it.

Set up Working time templates1 screen

Use this page to set the working hours for each day of the week, including breaks and special time slots, before you build calendars.

  1. Screen 1

    Create a working time template

    Go to Organization administration > Setup > Calendars > Working time templates

    1. Select New
    2. Enter the template ID and name
    3. On each day, select Add and enter the from and to times
    4. Select Save; Copy day repeats a day on the others
    1Working time templateBEAT-WT
    2NameWorking time
    3Hours8.00
    4Monday from8:00 AM
    Monday to4:00 PM
    Create a working time template (zoomed on the outlined fields)
    Show the full screenCreate a working time template
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Production control > Setup > Calendars > Working time templates.
  2. Select New.
  3. Enter a Working time template ID and a Name.
  4. Expand the Monday section and select Add.
  5. Enter the From and To times for the morning, and then add a second line for the afternoon.
  6. Select Copy day to copy Monday's times to the other weekdays.
  7. Optionally, set a Property on time slots for special operations.
  8. For weekend days, set Closed for pickup to Yes.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
FromThe time when a work period starts.Microsoft Learn
ToThe time when a work period ends.Microsoft Learn
EfficiencyThe efficiency for the time period. Enter a value other than zero, typically 100.Microsoft Learn
Closed for pickupMarks the day as one when work happens but no pickup or shipping takes place.Microsoft Learn
Working time templateThe ID of the template, a weekly pattern of working hours.Microsoft Learn DAYWorkTimeId
NameThe name of the working time template.Microsoft Learn Working timeName
Monday fromThe start time of a working period on Monday; a day can have several periods, for example split by lunch.Microsoft Learn 8:00 AM
Monday toThe end time of that working period.Microsoft Learn 4:00 PM
HoursThe working hours of the period, calculated from the from and to times.Microsoft Learn 8.00

Common errors and fixes

MessageWhat to do
A changed template doesn't change the scheduleCalendars keep the working times generated earlier. Generate the calendar's working times again from the template, then rerun scheduling. Microsoft Learn

Test checklist

  1. Create a template with Monday morning and afternoon slots and copy Monday to Tuesday-Friday with Copy day.
  2. Set Closed for pickup on Saturday and Sunday.
  3. Generate a calendar's working times from the template.
  4. Check the calendar's working times show the template hours and breaks.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Use working time templates for production shiftsOne template per shift pattern, with breaks as separate periods so capacity is not overstatedLearn's example splits Monday into two periods around lunch; the template is copied to calendars when working times are generated.How many working time templates?Editing a template and expecting calendars to change on their own. Working times must be generated again.Test: Template hours reach the calendar
Set up Working time templatesOne template per weekly pattern: Monday set up with the working blocks around breaks, copied to the other weekdays with Copy day, and weekend days marked Closed for pickupTemplates define the working hours for a week and are used to generate working times in calendars; Microsoft's procedure builds Monday, copies it to the other days and marks weekends Closed for pickup.How detailed are the working blocks?Over-detailed templates. Calendars with many working time intervals per day make the scheduling engine slower to load working times.Test: A template generates the expected hours

Feature management and licence

Licence or add-inIn this system 8 roles can open this page, among them Payroll administrator, Payroll manager, Production manager and Project manager.

Checked in Dynamics 365

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; calendars change only when working times are generated again.
If you change it laterA template is used to generate working times in calendars. Editing it changes nothing until the calendar's working times are generated again; then rerun master planning and scheduling. Microsoft Learn
Technical architect

6Technical

Menu itemWorkTimeTable Checked in Dynamics 365
FormWorkTimeTable Checked in Dynamics 365
TableWorkTimeTableShown as “Working time templates” in Record infoChecked in Dynamics 365
Data entitiesWorkCalendarTimeTemplateEntityWorking time templates Microsoft data model
Who can open it

8 security roles. Select a role to see its duties and privileges.

  • RolePayroll administratorHcmPayrollAdministrator
    • DutyEnable calendar management processWorkCalendarsEnable
      • PrivilegeMaintain working time templatesWorkTimeTableMaintain
  • RolePayroll managerHcmPayrollManager
    • DutyInquire into calendar policiesWorkCalendarPoliciesInquire
      • PrivilegeView working time templatesWorkTimeTableView
  • RoleProduction managerProdProductionManager
    • DutyEnable calendar management processWorkCalendarsEnable
      • PrivilegeMaintain working time templatesWorkTimeTableMaintain
  • RoleProject managerProjProjectManager
    • DutyEnable calendar management processWorkCalendarsEnable
      • PrivilegeMaintain working time templatesWorkTimeTableMaintain
  • RoleResource managerProjResourceManager
    • DutyResource managerProjResourceManager
      • PrivilegeResource managerProjResourceManager
  • RoleProcess engineerRouteProcessEngineer
    • DutyEnable calendar management processWorkCalendarsEnable
      • PrivilegeMaintain working time templatesWorkTimeTableMaintain
  • RoleProcess engineering managerRouteProcessEngineeringManager
    • DutyInquire into calendar policiesWorkCalendarPoliciesInquire
      • PrivilegeView working time templatesWorkTimeTableView
  • RoleService delivery managerSMAServiceDeliveryManager
    • DutyEnable calendar management processWorkCalendarsEnable
      • PrivilegeMaintain working time templatesWorkTimeTableMaintain
Checked in Dynamics 365
Roles to set it up and use itTo set it up or change itProduction manager ProdProductionManagerProcess engineer RouteProcessEngineerProject manager ProjProjectManagerPayroll administrator HcmPayrollAdministratorService delivery manager SMAServiceDeliveryManagerTo use itProcess engineering manager RouteProcessEngineeringManagerResource manager ProjResourceManagerPayroll manager HcmPayrollManagerGive people one of these roles. On this system, 8 roles can open this page.Checked in Dynamics 365
Actions on the pageOptions: Personalize, Page options, ShareChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=WorkTimeTable
Integrate withWorkCalendarTimeTemplateEntity data entity Microsoft data model
Data migrationWorkCalendarTimeTemplateEntity (Working time templates): loaded for each company, in Microsoft's default template 410 - Production control.Load order: Microsoft's default template 410 - Production control loads Working time templates at execution unit 1, level 20, sequence 10. Lower levels load first, and entities at the same level load in sequence order.Load first: the default templates at lower levels (System setup to Global address book)Microsoft Learn
Table definitionWorkTimeTable columns and relations Microsoft data model
Everyone

8Sources