.. include:: /Includes.rst.txt .. _handbook-hr-working-time-models: ================================= Working-time models and rotations ================================= A working-time model describes a working week: the target hours of each weekday, when work is expected, the minimum breaks and the grace periods. Every employee follows one model, or a rotation of models such as alternating early and late shifts. You manage models under :guilabel:`Administration > Working-time models`. .. figure:: /Images/Handbook/working-time-models.png :alt: The list of working-time models with code, name, schedule and weekly target :class: with-shadow The working-time models. Create a model ============== #. Choose :guilabel:`New model`. #. Enter a short :guilabel:`Code`, such as ``FT40``, and the :guilabel:`Name` in English and German. #. Choose the :guilabel:`Schedule`: :guilabel:`Fixed hours` (the time window is the expected start and end) or :guilabel:`Flextime` (a time window is optional and means the core time). #. Under :guilabel:`Week`, set each weekday's :guilabel:`Target (H:MM)` and, if needed, the window with :guilabel:`From` and :guilabel:`To`. Monday to Friday start with 8 hours. #. Check the :guilabel:`Minimum breaks`. They start with the statutory minimum. #. Leave the grace periods empty to use the company defaults from the :ref:`settings `, and save. A part-time model is an ordinary model with fewer hours. For a shift past midnight, tick :guilabel:`Night shift`. Change a model ============== #. Open the model. #. Change the fields in the tab :guilabel:`Model`. #. Choose the first day the change applies in :guilabel:`Applies from` and save. Earlier days keep the previous version. The tab :guilabel:`Versions` lists all versions. To stop using a model, choose :guilabel:`Archive`; people already assigned keep it. .. figure:: /Images/Handbook/working-time-model.png :alt: A working-time model with the weekdays, breaks and grace periods :class: with-shadow A working-time model. More options in a model: - :guilabel:`Break windows`: plan when breaks are taken, at least 15 minutes each. - :guilabel:`Seasons`: different targets for parts of the year, such as a hotel's summer. The seasons must cover every day of the year exactly once. - :guilabel:`Annual reference`: an :guilabel:`Annual target (H:MM)` for people who agree hours per year. The column :guilabel:`Plan minus annual target` shows models whose weekdays miss it. Assign a model ============== #. Open :guilabel:`Administration > Model assignments` and choose :guilabel:`Assign a model`. #. Choose the employee under :guilabel:`Name`. #. Choose the :guilabel:`Kind`, :guilabel:`Model` or :guilabel:`Rotation`, and then the model or rotation. #. For a rotation, choose :guilabel:`Starts with week (0 = first)` to stagger a team. #. Enter :guilabel:`From`, if needed :guilabel:`Until`, and save. .. figure:: /Images/Handbook/working-time-assignments.png :alt: The list of model assignments with employee, kind, model, dates and the difference from the contract :class: with-shadow The model assignments. A new assignment ends the previous one the day before. Only an assignment that has not started yet can be deleted. To give many people the same model, choose :guilabel:`Assign to several` and select up to 500 people. To assign from a spreadsheet, choose :guilabel:`Import from a file` with a CSV or XLSX file with the columns ``personnelNumber``, ``kind`` (``base`` or ``rotation``), ``schedule`` (the model code or rotation name), ``validFrom`` and optionally ``validTo`` and ``rotationOffset``. adsum checks the file first and names each row with a problem; choose :guilabel:`Import` to store the assignments. .. _handbook-hr-correct-assignment: Correct the history of assignments ================================== If a contract date turns out wrong, for example because the new model started a month later than entered, you correct the assignments afterwards. #. Open :guilabel:`Administration > Model assignments` and filter by the person. #. Choose :guilabel:`Correct` in the row of the assignment, change :guilabel:`From`, :guilabel:`Until` or the model and enter the :guilabel:`Reason for the change`. #. Save. If the change reaches days that are already past, adsum names them and asks from which day to calculate them anew. Check the day and choose :guilabel:`Save and recalculate`. #. If days of a closed payroll month are affected, adsum says so. Tick the box :guilabel:`Also recalculate settled periods, closed payroll months and days taken over from the previous system` only when that is intended, and save again. To say that a person had a model in a period, for example for a month between two assignments, choose :guilabel:`Insert a period`. An assignment under it is shortened or split. .. _handbook-hr-rotations: Rotations ========= A rotation is a pattern of models that repeats, for example one week early shift and one week late shift. You manage rotations under :guilabel:`Administration > Rotations`. .. figure:: /Images/Handbook/rotations.png :alt: The list of rotations with name, switches, start of the pattern and number of assignments :class: with-shadow The rotations. #. Choose :guilabel:`New rotation` and enter the :guilabel:`Name` in English and German. #. Choose when it :guilabel:`Switches`: :guilabel:`Every week`, :guilabel:`Every few days` (with :guilabel:`Days per element`) or :guilabel:`Every month` (with :guilabel:`Switch day of the month`). #. Enter the day the pattern begins in :guilabel:`Pattern starts`. A weekly rotation switches on this weekday. #. Add the :guilabel:`Elements in order`, each with its :guilabel:`Model`. Leave the model empty for days off. #. Save, and assign the rotation to people as described above. Once a rotation is assigned, only its name can change. A rotation that was never assigned can be deleted. Good to know ============ - On each day the first of these applies: an approved schedule change, a published roster entry, the rotation, the assigned model. - The column :guilabel:`Differs from contract` shows assignments whose weekly target does not match the contract hours. It does not block anything. - In a fixed model, the time window of a working day must be at least as long as its target. - Assigning to several people stores all or nothing: if one person cannot get the assignment, adsum names them. - When you move the start or end of an assignment, its neighbour follows, so no day is left without a model.