.. include:: /Includes.rst.txt .. _feature-1791236451: ================================================= Feature: Keep holidays apart in holiday calendars ================================================= Description =========== HR groups holidays in holiday calendars, for example one per country, and scopes rules and seeded federal states to them (``scope.holidayCalendarIds``). An employee's holiday calendar on a date is their own assignment valid on that date, else the default of the location they work at, else none. Assignments end the previous one the day before; a calendar in use by a rule, a location or an assignment cannot be deleted. Changes publish ``HolidayCalendarChanged`` for the affected range; a changed location default from today on. The page "Holiday rules" has tabs for the calendars, the employees and the locations. Impact ====== New tables ``holiday_calendar``, ``holiday_calendar_assignment`` and ``holiday_calendar_location_default``, the column ``holiday_rule.holiday_calendar_ids`` and the operations of holiday calendars, their assignments and location defaults. .. index:: API, Database, Frontend, package:adsum-working-time, package:adsum-core