.. include:: /Includes.rst.txt .. _feature-1791233747: ================================================== Feature: Assign work types with weekday exceptions ================================================== Description =========== HR assigns a work type to an employee from a date, optionally with another work type per weekday (``weekdayWorkTypes``), one by one, for up to 500 employees at once or from a CSV or XLSX file with a check first. A new assignment ends the previous one the day before it starts; only an assignment that has not started can be deleted. ``getWorkTypePlan`` and ``getMyWorkTypePlan`` return the planned work type per day and where it comes from; colleagues get 404. Every change publishes ``WorkTypePlanChanged``. The page "Work types" has a tab "Assignments", and everyone sees their plan under "Where I work". Impact ====== New operations ``listWorkTypeAssignments``, ``createWorkTypeAssignment``, ``createWorkTypeAssignmentsBulk``, ``importWorkTypeAssignments``, ``deleteWorkTypeAssignment``, ``getWorkTypePlan`` and ``getMyWorkTypePlan``. .. index:: API, Frontend, package:adsum-working-time