Skip to main content

"Payroll calendars" scenario

To provide information about the length of the working day, holidays, weekends, etc., the Microsoft Dynamics system uses calendars. A calendar is understood as a set of data about a single day and a set of settings according to which data about a single day is generated. Each category of employees uses its own calendar. For employees working in shifts, a separate calendar is defined.

In other words, a calendar can be defined as a planned work schedule for a group of employees in accordance with the standards established by law and the specific operating mode of a specific organization.

Path: Payroll calendars

On the Related tab, by clicking the Calendar - Application button, you can view a list of employees working according to the selected calendar. By clicking the Update payroll calendar lines button, you can update existing lines in the calendar from Setup. For example, if holidays were added for the current year.

Step 1 Norms of working hours

The norm of working hours is understood as the number of working units of time for a certain period according to the established mode of work at the enterprise. In the current version of Microsoft Dynamics, the unit of accounting for working hours is hours, and the work period corresponds to a week. For example, if the enterprise uses a 5-day work week with an 8-hour work day, then the norm of such a work schedule is 40 working hours per week. Data on the norms of working hours for different work schedules are stored in the Norms of working hours directory.

Step 2 Calendars

The calendar consists of four parts: • Header containing general information about the calendar. • Calendar lines – calendar layout by date. • Payroll calendar setup – rules according to which the calendar lines are generated (data on days of the week, weekends, holidays, frequency of changes). • Summarized accounting of working hours – rules according to which the summarized accounting of working hours is calculated.

The system must contain all the necessary calendars, according to which the company's employees work. At least one calendar must be defined to work in the system and calculate wages. Each calendar registered in the system can be used indefinitely. The period defined by the values in the "Start date" and "End date" fields in the calendar header displays only the period for which the working and non-working days of the calendar are set. The end date of the period changes automatically when the calendar is extended.

The calendar card contains the following information:

Payroll Calendar Card page, General tab

FieldDescription
CodeCalendar code.
NameCalendar name.
Shift duration in daysThe field is filled only for shift calendars and defines the duration of the full shift cycle (working and non-working days).
Shift start dateThe field is filled only for shift calendars and defines the start date of the shift calendar.
Start dateThe field value is filled automatically and is not editable. The field value is defined as the start date of the calendar line setup.
End dateThe field value is filled automatically and is not editable. The field value is defined as the end date of the existing calendar line setup.
DescriptionAn arbitrary description of the calendar that can be used to generate text templates for HR orders.

Payroll Calendar Card page, Lines tab

FieldDescription
DateCalendar date. The calendar is created on a daily basis without gaps.
DescriptionText description of the day. Usually the field displays the name of a public holiday or another feature of the day, for example, a shortened day or a transfer of days off.
StatusCurrent status of the day. The “Released” status means that the calendar for the date has been checked and cannot be changed. Timesheets for accounting of working hours can only be created for a calendar with the “Released” line status.
Non-workingThe field must be set to "Yes" for all non-working days.
Start timeStart time of working day.
End timeEnd time of working day.
Working hoursThe number of working hours according to the calendar on a working day.
Rest hoursRest hours.
Day of the weekThe name of the day of the week.
Day statusThe field displays the type of day off. Possible value options: Day off. • Holiday.
Time Activity CodeTime activity code for working hours specified in the planned time sheets.
Night HoursNumber of night hours according to the calendar in a working day.
Night Hours Time Activity CodeTime activity code for night hours specified in the planned time sheets.
Evening HoursNumber of evening hours according to the calendar in a working day.
Evening Hours Time Activity CodeTime activity code for evening hours specified in the planned time sheets.
Holiday HoursNumber of holiday hours according to the calendar in a working day.
Holiday Hours Time Activity CodeTime activity code for holiday hours specified in the planned time sheets.
Shift CodeIf there is no clear sequence that can be created by automatically creating lines from the setup, it is necessary to specify the shift code for a specific day, the code will pull up the necessary parameters (hours, time code, start date).
Note: Please note that the number of night, evening, holiday hours is specified within the working hours, i.e. 10 working hours, of which 2 evening ones.

Payroll Calendar Card page, Payroll tab

FieldDescription
Working hoursThe number of working hours by lines.
Working daysThe number of working days by lines.
Days offThe number of days off by lines.
HolidayThe number of holidays by lines.
Partial working hoursThe sign of partial calendar working hours.

Payroll Calendar Card page, Summarized accounting of working hours tab

FieldDescription
Calendar of summarized accounting of working hoursThe "Yes" value is set only for calendars with summarized accounting of working hours.
Period of summarized accounting of working hoursThe list contains options for the working time calculation period:• Month • Quarter • Half-year • Year.
Normative calendar codeThe calendar code that determines the norm of hours/days for the current calendar.
Summarized overtime group codeSpecifies the time activity group code for overtime.
Summarized working time group codeSpecifies the time activity group code for determining working time.
Norm reduction group codeSpecifies the time activity group code for reducing the working time norm.
Overtime reduction group codeSpecifies the time activity group code for reducing overtime.
Rest day activity codeSpecifies the rest day activity code.

Let's look at the functional buttons of the Payroll Calendar Card page menu:

Payroll Calendar Card page, Actions tab, Functions block

ButtonDescription
Create linesCreate new calendar lines in the period defined by the parameters specified when the function was run, in accordance with the settings defined for the calendar.
Copy settingsCopy the settings of an already created calendar.

Payroll Calendar Card page, Related tab, Calendar block

ButtonDescription
SetupBasic setup for the calendar. Defining the list of days off and holidays per year, as well as the frequency of shifts.
Calendar by periodsViewing the calendar by periods with working/non-working days/hours displayed.
Employee access control setupEmployee access control setup.

Payroll calendar card page, Lines, Line menu

ButtonDescription
ReleaseAssigning the "Released" status to the selected calendar lines.
OpenOpening the selected calendar lines for editing. Editing the calendar is not possible if the employee's work time schedules have already been generated and approved for the period. If the work time sheets have not yet been released, you can open the calendar line, make changes and release them. The updated data for the line will be entered into all time sheets created based on this calendar. This is useful for making changes regarding the transfer of working days.
Release all linesGranting the "Released" status to all calendar lines.

Step 3 Basic calendar setup

The basic calendar setup defines working days and days off, the length of the working period (for standard calendars, this is a week or another period for shift calendars), and holidays defined by law. Basic settings can be set individually for each calendar.

The lines of the Payroll calendar setup page are filled in according to the following principles:

Payroll calendar setup page

FieldDescription
YearThe year to which the calendar setup applies. If the year is not defined, the setup will be applied to any year.
Period typePeriod type:• Week – used to determine the order of display in the timesheet for standard (weekly) schedules. • Month – used to define statutory working days and holidays. As well as specific dates (according to local regulations) for which special time activity codes must be used. • Shift – used to define the order of display in the timesheet for periodic (shift) schedules.
Period numberThe field is filled in for time periods of the “Month” type and defines the month number of the year.
Period nameThe field is filled in automatically when filling in the "Period number" and "Name of the month of the year" fields.
No.Sequential number for the time period. The field value is determined depending on the period type. • Week – sequential number of the day of the week. • Month – a specific day of the month. • Shift – sequential number of the day in the shift (period).
DescriptionText description of the setting. As a rule, the field contains the name of a public holiday or other comments for a specific date.
Non-workingFlag for non-working days.
Start timeShift start time. The field is filled in as needed.
End timeShift end time.
Working hoursThe planned number of working hours per day.
Day of the weekName of the day of the week. The field is filled in if the period type is set to Week.
Day statusThe type of non-working day. The field allows you to distinguish between weekends and holidays. For working days, the field must be empty.
Time activity codeThe time activity code set for working hours when generating the planned calendar and the employee's time sheet.
Night hoursThe planned number of night hours per day.
Time activity code for night hoursThe time activity code set for night hours when generating the planned calendar and the employee's time sheet.
Evening hoursThe planned number of evening hours per day.
Time activity code for evening hoursThe time activity code set for evening hours when generating the planned calendar and the employee's time sheet.
Holiday hoursThe planned number of holiday hours per day.
Time activity code for holiday hoursThe time activity code set for holiday hours when generating the planned calendar and the employee’s time sheet.
Calendar setup change code.

It is possible to copy the setup lines to other calendars. To do this, use the Copy setup lines button. You need to select the lines to be copied, click the Copy setup lines button and select the calendars to which you need to add the setup lines.

Step 4 Creating a new calendar

To create a new calendar, you need to perform a certain sequence of actions and define the settings:

  1. Create a new payroll calendar card, define its Code, give it a Name and define, if necessary, the shift (the Shift duration in days field).
  2. Define the basic calendar setup (Calendar – “Setup) in one of the possible ways: • Manually and • By copying the setup of an existing calendar.
  3. Create calendar lines (FunctionsCreate lines). In the “Start Date” and “End Date” fields, define the period in which the calendar lines should be created and click the OK button to complete the creation of the lines. If the Clear Lines option is enabled, the lines created earlier than this period are deleted and replaced with new ones.
  4. Check the correctness of the calendar generation and the total number of working and holiday hours/days per month (Calendar – Calendar by periods). Individual changes can be made manually to the calendar. Automatic calculation of holiday hours for shift calendars has been added. If the calendar has a value in the “Shift duration in days” and “Shift calendar start date” fields, then when creating a line in a working day calendar, a check is performed to see if it includes a Holiday (according to the calendar setup, according to the Holiday Day status). If it does, then for such a line the value in the “Time activity code for holiday hours” field is filled in with the value of the similar field from the Holiday Setup, and the Holiday Hours field is filled in with the value of Working hours from the current line for the day.
  5. Select the checked calendar lines and approve them (Functions - Release), protecting the settings from accidental changes.
© 2008 - 2023 SMART business