.. include:: /Includes.rst.txt .. _feature-1791010702: =========================== Feature: Book leave by runs =========================== Description =========== Leave runs book every night what the policies grant: the year's grants, monthly days, the carry-over at year end with its cap and expiry, expiries of ended validities, and reminders of days about to expire. Every booking has a key, so a run never books twice and catches up missed periods one by one. Where days may expire only after a reminder, days without one stay usable and the run lists them. Years covered by an opening balance are skipped. Changes of employment, exit and working time recalculate the entitlement and book the difference as an adjustment. HR sees and starts runs under :guilabel:`Administration > Leave runs`; the API offers ``listLeaveRuns`` and ``createLeaveRun``. The notifications ``leave.expiryReminder`` and ``leave.balanceBelowZero`` are new; lists can show the number of items with a ``count`` column. Impact ====== Four new tables, a nightly job and a new entry in the navigation. .. index:: API, Database, Frontend, package:adsum-leave, package:adsum-core