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 calendars for production scheduling
Use this page to keep the working days and times that production resources are scheduled in.
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
Steps from Microsoft
Go to Production control > Setup > Calendars > 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.
The number of hours in a standard work day for the calendar; it converts lead times in days into hours.Microsoft Learn
8.00
StandardWorkDayHours
Common errors and fixes
Message
What to do
Production order %1 could not be scheduled. Not enough capacity could be found.
Open Working times for the calendar and check the page isn't blank, the days aren't Closed and the efficiency isn't 0. If the calendar uses a base calendar, check that one too. Microsoft Learn
Test checklist
Create a calendar with a working time template and generate working times.
Set one date to Closed and another to Open with Closed for pickup.
Assign the calendar to a resource group and run production scheduling.
Generate working times far enough ahead to cover the planning horizon, and rerun master planning and scheduling after every calendar changeLearn says calendar-dependent tasks such as master planning and production scheduling must be rerun after a calendar is updated, and empty or closed working times make scheduling fail.
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
Feature management and licence
Licence or add-in
In this system 10 roles can open this page, among them Payroll administrator, Payroll manager, Production manager and Production supervisor.
Reversible: Calendars can be changed at any time; planned dates move only when planning and scheduling run again.
If you change it later
After you change a calendar, rerun the tasks that depend on it, such as master planning and production scheduling. Microsoft Learn
Technical architect
6Technical
Menu item
WorkCalendarTableChecked in Dynamics 365
Form
WorkCalendarTableChecked in Dynamics 365
Table
WorkCalendarTableShown as “Calendars” in Record infoChecked in Dynamics 365
Data entities
WorkCalendarEntityCalendar (The calendar header only.) Microsoft data model WorkCalendarDayEntityWorking times (The working days of the calendar (open or closed).) Microsoft data model
Who can open it
10 security roles. Select a role to see its duties and privileges.
DutyInquire into calendar masterWorkCalendarMasterInquire
PrivilegeView calendarsWorkCalendarTableView
Checked in Dynamics 365
Roles to set it up and use it
To set it up or change itProduction supervisor ProdProductionSupervisorProduction manager ProdProductionManagerProcess engineer RouteProcessEngineerProject manager ProjProjectManagerPayroll administrator HcmPayrollAdministratorTo use itProcess engineering manager RouteProcessEngineeringManagerResource manager ProjResourceManagerPayroll manager HcmPayrollManagerSales representative TradeSalesRepresentativeGive people one of these roles. On this system, 10 roles can open this page.Checked in Dynamics 365
Actions on the page
OptionsChecked in Dynamics 365
Developer
7Developer
Open it by URL
https://<your-environment>/?mi=WorkCalendarTable
Data migration
WorkCalendarEntity Calendar headers.WorkCalendarDayEntity Working days per calendar.Load order: Load working time templates first, then calendars, then generate or load the working times, before resource groups and their calendar assignments.Load first: Working time templatesMicrosoft 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.
To cite this step: PC-RSET-090, Use calendars for production scheduling. Beyond ERP Atlas Hub. https://www.beyonderp.cloud/atlas/step/PC-RSET-090