BeyondERP.Newsletter
Menu

Setup step on the Calendars page · Payroll

Keep payroll calendars apart from production calendars

Decide which calendars payroll uses as position schedules.

See how to set it up Back to Payroll

Used by
Payroll administrator, Payroll manager, Production manager and 7 more roles
Business process
Pay employees
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
A ready-to-run test, “Payroll calendar drives 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 create the working time calendars that set the work schedule of payroll positions.
What you do hereUse 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.
ExampleFor 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.
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

Keep payroll calendars apart from production calendars

Decide which calendars payroll uses as position schedules.

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 Payroll > Setup > Scheduling > 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.Microsoft Learn 8.00StandardWorkDayHours

Common errors and fixes

MessageWhat to do
The calendar can't be selected as the schedule of a position.The schedule must be a calendar of the legal entity in the position's Paid by field. Microsoft Learn

Test checklist

  1. Create a payroll-only calendar with Standard work day in hours set.
  2. Select Working times > Compose working times for a year using a payroll working time template.
  3. Assign the calendar as the schedule on a test hourly position.
  4. Generate earnings and check default lines are created for the scheduled hours, with none for 0-efficiency periods.

Source: Microsoft Learn

Functional consultant

4Setup decisions

Setup stepRecommended value and whyDecision, common mistake and test
Keep payroll calendars apart from production calendarsCreate 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.Do payroll and production share calendars?Using a production calendar as a position schedule, so a planning change alters workers' generated earnings.Test: Payroll calendar drives earnings
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-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: 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 undoneReversible: A calendar can be edited or recomposed, but earnings already generated are not changed.
If you change it laterThe 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 itemWorkCalendarTable Checked in Dynamics 365
FormWorkCalendarTable Checked in Dynamics 365
TableWorkCalendarTableShown as “CALENDAR” in Record infoKey field: CalendarIdChecked in Dynamics 365
Data entitiesWorkCalendarEntityCalendar 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 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
Developer

7Developer

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

8Sources