BeyondERP.Newsletter
Menu

Setup step on the Calendars page · Production control

Use calendars for production scheduling

Use this page to keep the working days and times that production resources are scheduled in.

See how to set it up Back to Production control

Used by
Payroll administrator, Payroll manager, Production manager and 7 more roles
Business process
Develop production processes
Menu item
WorkCalendarTable
Main table
WorkCalendarTable
Data entity
None for this page's own settings
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, “Scheduling respects 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 create calendars and manage their working times, including which days are open or closed.
What you do hereUse this page to define the working days and hours of resources, warehouses, vendors and other parts of the supply chain.
ExampleFor example, when two warehouses have the same working days but different pickup policies, give each warehouse its own calendar.
Calendars 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

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.

  1. Screen 1

    Create a working time calendar

    Go to Organization administration > Setup > Calendars > Calendars

    1. Select New
    2. Enter the calendar ID and name
    3. Enter the standard work day in hours
    4. Select Save; use Working times to generate the days
    1CalendarBEAT-CAL
    NameCalendar
    Standard work day in hours8.00
    Create a working time calendar (zoomed on the outlined fields)
    Show the full screenCreate a working time calendar
    page title tab to open what to set or check

Steps from Microsoft

  1. Go to Production control > Setup > Calendars > Calendars.
  2. Select New.
  3. In the Calendar field, enter an ID for the calendar.
  4. In the Name field, enter a name.
  5. In the Standard work day in hours field, enter a number.
  6. With the row selected, select Working times on the Action Pane.
  7. Select Compose working times.
  8. Enter the From date and To date for the period to generate.
  9. In the Working time template field, select a template.
  10. Select OK.

Source: Microsoft Learn

Fields on the page

FieldWhat it meansExampleTable column
CalendarThe ID used when you assign the calendar, for example to an operations resource or a resource group.Microsoft Learn STANDARDCalendarId
ControlOn the Working times page, sets each date as Open, Closed or taken from the base calendar.Microsoft Learn
Closed for pickupMarks an open date as a working day when no shipping takes place.Microsoft Learn
Working time templateThe weekly pattern of working hours used to generate the calendar's working times.Microsoft Learn
NameThe name of the calendar.Microsoft Learn CalendarName
Standard work day in hoursThe number of hours in a standard work day for the calendar; it converts lead times in days into hours.Microsoft Learn 8.00StandardWorkDayHours

Common errors and fixes

MessageWhat 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

  1. Create a calendar with a working time template and generate working times.
  2. Set one date to Closed and another to Open with Closed for pickup.
  3. Assign the calendar to a resource group and run production scheduling.
  4. Check no jobs are scheduled on the closed date.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Use calendars for production schedulingGenerate 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.Do production resources share a calendar?Working times generated only for this year. Orders scheduled into next year fail with Not enough capacity could be found.Test: Scheduling respects the calendar
Set up CalendarsA 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-inIn this system 10 roles can open this page, among them Payroll administrator, Payroll manager, Production manager and Production supervisor.

Checked in Dynamics 365

Solution architect

5Design impact

Shared or per companyPer company: each legal entity has its own calendars. Microsoft data model
Can it be undoneReversible: Calendars can be changed at any time; planned dates move only when planning and scheduling run again.
If you change it laterAfter you change a calendar, rerun the tasks that depend on it, such as master planning and production scheduling. Microsoft Learn
Technical architect

6Technical

Menu itemWorkCalendarTable Checked in Dynamics 365
FormWorkCalendarTable Checked in Dynamics 365
TableWorkCalendarTableShown as “Calendars” in Record infoChecked in Dynamics 365
Data entitiesWorkCalendarEntityCalendar (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.

  • RolePayroll administratorHcmPayrollAdministrator
    • DutyMaintain calendar masterWorkCalendarMasterMaintain
      • PrivilegeMaintain calendarsWorkCalendarTableMaintain
  • RolePayroll managerHcmPayrollManager
    • DutyInquire into calendar masterWorkCalendarMasterInquire
      • PrivilegeView calendarsWorkCalendarTableView
  • RoleProduction managerProdProductionManager
    • DutyMaintain calendar masterWorkCalendarMasterMaintain
      • PrivilegeMaintain calendarsWorkCalendarTableMaintain
  • RoleProduction supervisorProdProductionSupervisor
    • DutyMaintain calendar masterWorkCalendarMasterMaintain
      • PrivilegeMaintain calendarsWorkCalendarTableMaintain
  • RoleProject managerProjProjectManager
    • DutyMaintain calendar masterWorkCalendarMasterMaintain
      • PrivilegeMaintain calendarsWorkCalendarTableMaintain
  • RoleResource managerProjResourceManager
    • DutyResource managerProjResourceManager
      • PrivilegeResource managerProjResourceManager
  • RoleProcess engineerRouteProcessEngineer
    • DutyMaintain calendar masterWorkCalendarMasterMaintain
      • PrivilegeMaintain calendarsWorkCalendarTableMaintain
  • RoleProcess engineering managerRouteProcessEngineeringManager
    • DutyInquire into calendar masterWorkCalendarMasterInquire
      • PrivilegeView calendarsWorkCalendarTableView
  • RoleService delivery managerSMAServiceDeliveryManager
    • DutyMaintain calendar masterWorkCalendarMasterMaintain
      • PrivilegeMaintain calendarsWorkCalendarTableMaintain
  • RoleSales representativeTradeSalesRepresentative
    • DutyInquire into calendar masterWorkCalendarMasterInquire
      • PrivilegeView calendarsWorkCalendarTableView
Checked in Dynamics 365
Roles to set it up and use itTo 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 pageOptionsChecked in Dynamics 365
Developer

7Developer

Open it by URLhttps://<your-environment>/?mi=WorkCalendarTable
Data migrationWorkCalendarEntity 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
Table definitionWorkCalendarTable columns and relations Microsoft data model
Everyone

8Sources