BeyondERP.Newsletter
Menu

Setup step on the Working time templates page · Payroll

Build payroll working time templates

Decide how the weekly hours of hourly workers are recorded for payroll.

See how to set it up Back to Payroll

Used by
Payroll administrator, Payroll manager, Production manager and 5 more roles
Business process
Pay employees
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, “Unpaid lunch generates no earnings”, 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 the seven-day pattern of hours that a group of hourly workers typically works.
What you do hereUse this page to enter the regular hours for each weekday, then generate payroll working time calendars from the template.
ExampleFor example, set Monday from 8:00 to 12:00 and 12:30 to 16:30 with Efficiency 100, leave Closed for pickup cleared, and copy Monday to the other weekdays. A line with Efficiency 0 is time that is not paid.
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

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

Build payroll working time templates

Decide how the weekly hours of hourly workers are recorded for payroll.

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 Payroll > Setup > Scheduling > Working time templates.
  2. Select New and enter a brief identifier and a descriptive name, one template per schedule your hourly workers work.
  3. On the Monday tab, enter the From and To times of each work period, set Efficiency to 100, leave Property blank and clear Closed for pickup.
  4. Enter the unpaid lunch hour as a line with Efficiency 0, so no earnings are generated for it.
  5. Select Copy day to copy Monday to the other workdays, leaving Copy property cleared, then compose calendars from the template.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
FromThe time when a work period starts.Microsoft Learn FromTime
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 templateA brief identifier of the template.Microsoft Learn DAYWorkTimeId
NameThe name of the working time template.Microsoft Learn Working timeName
Monday fromOn the Monday tab, the time a work period starts.Microsoft Learn 8:00 AM
Monday toOn the Monday tab, the time a work period ends.Microsoft Learn 4:00 PM
HoursThe hours of the line, from its From and To times (8:00 AM to 4:00 PM shows 8.00).Checked in Dynamics 3658.00

Common errors and fixes

MessageWhat to do
Workers are paid for their lunch hour.Enter the lunch period with Efficiency 0, then compose the calendar's working times again. Microsoft Learn

Test checklist

  1. Create a template per hourly schedule with Efficiency 100 on work periods, blank Property and Closed for pickup cleared.
  2. Set the lunch line to Efficiency 0.
  3. Use Copy day to copy Monday to the other workdays.
  4. Compose a calendar from the template, assign it to a position and check no earnings are generated for the lunch hour.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Build payroll working time templatesOne template per schedule hourly workers typically work, with Efficiency 100 on paid periods, Efficiency 0 on unpaid breaks, Property blank and Closed for pickup cleared.Learn's payroll steps set the template this way, and an Efficiency 0 line generates no earnings.How are unpaid breaks recorded?Following the supply chain habit of marking weekend days Closed for pickup or setting a Property, which payroll templates should leave clear.Test: Unpaid lunch generates no earnings
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-inOn the live system, Payroll administrator, Production manager, Process engineer and other planning roles maintain this page; Payroll manager can view it.

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: A template can be edited; calendars get the new hours only when composed again.
If you change it laterThe template's hours become the calendar's working times, and those scheduled hours generate the default earnings lines of hourly workers. Editing the template changes only calendars composed afterwards. 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 itPayroll administrator HcmPayrollAdministratorProduction manager ProdProductionManagerService delivery manager SMAServiceDeliveryManagerProcess engineer RouteProcessEngineerProject manager ProjProjectManagerTo use itPayroll manager HcmPayrollManagerResource manager ProjResourceManagerProcess engineering manager RouteProcessEngineeringManagerGive people one of these roles. On this system, 8 roles can open this page.Checked in Dynamics 365
Actions on the page(Action Pane without tabs): Copy templateChecked 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