Hours calculation settings — basics and examples

Added

In Hours calculation settings you decide which hours columns appear to the right of the list in Shift planning and how those hours are carried into salary and hot meal. Each setting is one column; the order of the settings in the list is the order of the columns. This guide explains every field of the form — you see the same text when you click ⓘ next to a field in the app. Formulas have their own guide: Formulas in the hours calculation.

1. Open Hours calculation settings

  1. In the left menu, open the ADM tab (if shown — tabs appear only when the company uses more than one module), open the Shift planning group and select Shift planning.
  2. On the screen, click the Settings (gear) button. The Hours calculation settings window opens with the list of settings.
  3. Users who may only view their assigned employees do not see the Settings button.

2. The list of settings

  1. Each row is one hours column. Columns in the list: # (order), Name and calculation type, Abbreviation, Calculation (time range or formula), Absences, Payroll (MNZ, Hot meal, salary percentage), Applies to and Actions (edit, delete).
  2. The search box searches by name or abbreviation. While a search is active the order cannot be changed — Clear search brings back the whole list.
  3. Add setting opens an empty form at the top of the list. While the form is open, the other rows cannot be edited, deleted or dragged.
  4. When you close the window, Shift planning refreshes and shows the columns according to the new settings.

3. Calculation type

The first section of the form chooses how the hours in the column are calculated.

The column counts the hours of planned shifts that fall within Time from – Time to. If a shift runs 14:00–22:00 and the setting is 18:00–22:00, 4 hours go into the column. Shift breaks within that range are deducted.

When to use it

For regular, afternoon and night work, weekend shift work, and for columns that count absence hours (annual leave, sick leave).

If the hours must be calculated from other columns (e.g. a sum or a share of a column), choose Formula.

The column does not count shift hours; it calculates them from other columns, e.g. ([RR]+[NR])*0.5. The codes in square brackets are the abbreviations of standard settings.

Formulas are calculated after the standard columns, so a formula cannot use the code of another formula (such a code counts as 0). A negative result is shown as 0.

Syntax, the [MN] and [MNZ] variables and what the errors mean: guide “Formulas in the hours calculation”.

4. Name and abbreviation

The full name of the column, e.g. Night work or Sick leave up to 42 days. It is shown in the list of settings and in the column tooltip in Shift planning.

The name is required and can have at most 100 characters. Use a name the payroll clerk recognises on the payslip.

The short code of the column, e.g. NR. The abbreviation is the column header in Shift planning and the code in formulas ([NR]).

Rules

  • Required, 1–10 characters.
  • Letters, digits and underscore _ only — no spaces or square brackets.
  • Unique within the company; upper and lower case are treated the same (nr and NR are the same abbreviation).

Changing the abbreviation

If formulas of other settings use the abbreviation, the app warns you. After the change those formulas calculate 0 until you fix the code in them — so edit them right after.

5. Time and absences

This section exists only for the standard calculation.

The part of the day whose shift hours are counted in the column. Both fields are required and cannot be the same.

Crossing midnight

When Time to is earlier than Time from (e.g. 22:00 – 06:00), the range crosses midnight: hours from 22:00 to midnight and from midnight to 06:00 the next day are counted.

Whole day

00:00 – 00:00 means the whole day (shown in the list as 00:00 – 24:00) — typical for absence columns.

ShiftSettingIn the column
14:00–22:0018:00–22:004 h
20:00–04:0022:00–06:006 h
06:00–14:0022:00–06:000 h

When an employee has one of the selected absences on a shift day, the hours of that shift (within Time from – Time to) go into this column instead of the columns without absences.

No absences (nothing selected) is the usual choice for work columns: the column counts hours only on days without an absence.

Example

Setting Annual leave (GO), 00:00 – 00:00, absence “Annual leave”: on annual-leave days the planned shift hours go into the GO column, not into the regular-work column.

6. Payroll

What it does

When switched on, this column cannot show more hours than [MNZ] — the employee's maximum working hours in that month. MNZ takes into account whether the employee started or stopped working during the month.

When to switch it on

For columns whose hours must not exceed the monthly norm — typically regular and night work. Switch it off for overtime, which is above the norm by definition.

Example

Employee started on the 15thOffOn
MNZ for the rest of the month88 h88 h
Planned night hours96 h96 h
In column NR96 h88 h

When switched on, the hours of this column count toward the total hours used to calculate the number of days on which the employee receives a hot meal allowance.

Switch it on for columns of actual work (regular, night, overtime). Switch it off for absences that do not entitle the employee to a hot meal, e.g. sick leave or annual leave.

How much one hour of this column is worth in the salary calculation. 100 means a regular hour; a higher percentage proportionally increases, and a lower one decreases, the gross salary for those hours.

Enter a whole number from 0 to 300.

ColumnPercentage
Regular work100
Night work130
Overtime150
Sick leave up to 42 days90

Set the actual percentages according to the regulations and the collective agreement that apply to your company.

7. Who it applies to

An empty field means the setting applies to everyone. When you select values in several fields, the setting applies only to employees who meet all selected conditions.

The column is calculated only for employees in the selected departments. For other employees this column counts no hours.

Empty (“All departments”) = applies to all departments. If you also select positions, offices or shifts, the employee must meet all conditions.

The column is calculated only for employees in the selected positions (job roles). For other employees this column counts no hours.

Empty (“All positions”) = applies to all positions.

The column is calculated only for employees in the selected offices. For other employees this column counts no hours.

Empty (“All offices”) = applies to all offices.

Only the hours of the selected shifts go into the column. Example: the setting “Night work” with the shift “Night” selected does not count hours of other shifts, even when they fall within 22:00 – 06:00.

Empty (“All shifts”) = all shifts are counted.

8. Order of columns

The order of the settings in the list is the order of the hours columns in Shift planning and in the exports that list hours columns.

How to change the order

  • Grab a row by its handle (six dots on the left) and drag it to its new place. A blue line shows where the row will be dropped.
  • With the keyboard: focus the handle and press the up or down arrow.

The new order is saved as soon as you drop the row. If saving fails, the list returns to the previous order.

Dragging is not possible while the edit form is open or a search is active.

9. Saving and input checks

  1. Click Save. If a field is not valid, the setting is not saved: a summary of errors appears at the top of the form (clicking a field name takes you to it), and the field is outlined in red with a message below.
  2. Fix the fields — an error disappears as soon as the field is valid — and click Save again.
  3. A new setting is added at the end of the list; an edited setting keeps its place.
  4. Cancel (or ✕ in the form header) returns the row to how it was before editing.

10. Delete a setting

  1. In the setting's row, click the bin icon.
  2. The confirmation window shows which setting is deleted. If formulas use its abbreviation, they are listed — after deletion those formulas calculate 0 for that code.
  3. Click Delete setting. The column disappears from Shift planning.

11. Example settings

NameAbbreviationCalculationAbsencesPayroll
Regular workRR06:00 – 14:00—Hot meal, 100%
Afternoon workPR14:00 – 22:00—Hot meal, 100%
Night workNR22:00 – 06:00—MNZ, Hot meal, 130%
Annual leaveGO00:00 – 24:00Annual leave100%
OvertimePREKFormula [RR]+[PR]+[NR]-[MNZ]—150%

12. Where to go next

  1. Formulas in the hours calculation — syntax, variables and errors.
  2. Shift planning — overview — where the hours columns are shown.