Payroll administrator, Payroll manager, Production manager and 7 more roles
Business process
Administer system features
Menu item
WorkCalendarTable
Main table
WorkCalendarTable
Data entity
WorkCalendarEntity
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
2 ready-to-run tests to confirm this setup in your own test environment.
Show what matters for
PAGE GUIDEWhat the page does and how to use it9 sections. Choose a role to highlight what matters to you.
Everyone
1What it is and why
What it is
A setup page where you create the working time calendars that set the work schedule of payroll positions.
What you do here
Use this page to generate a calendar of a year or more from a working time template and assign it as a position's schedule. Payroll uses the scheduled hours to generate default earnings statement lines, and the schedule is also used for paid leave.
Example
For example, create a calendar for hourly warehouse staff from their working time template and assign it to their positions. Keep payroll calendars separate from production calendars, even though both are kept on this page.
The page in Dynamics 365. page title tab to open what to set or check
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
Set up Calendars1 screen
Use this page to define the working days and hours of resources, warehouses, vendors and other parts of the supply chain.
Screen 1
Create a working time calendar
Go to Organization administration > Setup > Calendars > Calendars
Select New
Enter the calendar ID and name
Enter the standard work day in hours
Select Save; use Working times to generate the days
1Calendar
BEAT-CAL
Name
Calendar
Standard work day in hours
8.00
Show the full screen page title tab to open what to set or check
Keep payroll calendars apart from production calendars
Decide which calendars payroll uses as position schedules.
Steps from Microsoft
Go to Payroll > Setup > Scheduling > Calendars.
Select New.
In the Calendar field, enter an ID for the calendar.
In the Name field, enter a name.
In the Standard work day in hours field, enter a number.
With the row selected, select Working times on the Action Pane.
Select Compose working times.
Enter the From date and To date for the period to generate.
In the Working time template field, select a template.
A calendar for each element with different working days (vendors, customers, warehouses, modes of delivery, coverage groups), one per warehouse where its days or pickup policy differ, and shared calendars for resources with the same hoursPlanned order dates come from the combination of assigned calendars, and Microsoft recommends one calendar per warehouse for warehouse-specific changes. Resources with identical hours should share a calendar because the scheduling engine loads and caches working times per calendar.
How many calendars?Giving each resource its own calendar ID even when the hours are the same. The engine then requests working times for every calendar, which is a common cause of slow scheduling.Test: Closed day moves the planned receipt date
Create separate calendars for payroll, one per hourly schedule, composed from payroll working time templates for a year or more, and use them only as position schedules.Learn recommends separate calendars for Payroll and Production control although both are kept on this page, and the schedule drives the default earnings lines.
On 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 company
Per company: Data management loads Calendar for each legal entity, and a position can use only calendars of its Paid by legal entity. Checked in Dynamics 365
Can it be undone
Hard to reverse: A calendar can be edited at any time, but anything that depends on it, such as master planning and production scheduling, must be rerun. Learn recommends keeping separate calendars for Payroll and Production control, and not changing a calendar another part of the organization already uses. Microsoft Learn
If you change it later
The calendar set as a position's schedule gives the scheduled hours that default earnings statement lines are generated from, and is also used with leave types for paid leave. Microsoft Learn
Technical architect
6Technical
Menu item
WorkCalendarTableChecked in Dynamics 365
Form
WorkCalendarTableChecked in Dynamics 365
Table
WorkCalendarTableShown as “CALENDAR” in Record infoKey field: CalendarIdChecked in Dynamics 365
DutyInquire into calendar masterWorkCalendarMasterInquire
PrivilegeView calendarsWorkCalendarTableView
Checked in Dynamics 365
Roles to set it up and use it
To 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 RouteProcessEngineeringManagerSales representative TradeSalesRepresentativeGive people one of these roles. On this system, 10 roles can open this page.Checked in Dynamics 365
Actions on the page
(Action Pane without tabs): Working times, Copy calendarChecked in Dynamics 365
Security administrator · Solution architect
7Advanced Security configuration
Each button below opens a menu item. Start from a standard security role, or from an empty one, and choose what the new role gets for each button: remove it, or an access level. Then create the file that System administration > Security > Security configuration > Data > Import reads. The file holds a copy of the role and copies of only the duties and privileges that change. Everything else stays the standard object.
This demo uses Microsoft's standard roles. To do the same on your own system, with your own roles, use the Chrome extension or the bookmark.
Payroll administrator (HcmPayrollAdministrator) can use 2 of these buttons. You can also give it buttons it does not have.
On your own system, the Advanced Security configuration bookmark does the same with your real roles, including your own: click a button on the live page to see who can use it and what to change.
Built from Microsoft's standard security definitions for version 10.0.49 and the buttons seen on this page in a working system. Add-ons, your own roles and later versions can differ. Beyond ERP is not affiliated with Microsoft. Buttons without a menu item, such as Post, are not listed: security roles cannot change them this way.
WorkCalendarEntity (Calendar): loaded for each company, in Microsoft's default template 025 - General ledger.Load order: Microsoft's default template 025 - General ledger loads Calendar at execution unit 1, level 25, 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 Workflow)Microsoft Learn
Checked in a working Dynamics 365 system, version 10.0.49: the menu item, form, table and security, the page, the demo records and the values in the screenshots.