.. include:: /Includes.rst.txt .. _feature-1793042871: =========================================================== Feature: Closed weeks are evaluated for rules over a period =========================================================== Description =========== When a calendar week has ended and all its days are closed, adsum asks the country packages about the rules over a period ending with that week, once per employee and week, in the nightly slot after the settlement proposals. A correction, a late import or a recalculation that changes a day of a closed week asks again for that week and for the following weeks whose 24-week window contains it, so a corrected day resolves or opens the periods it belongs to. The first run for an employee takes the last 24 weeks over without announcing anything. Impact ====== The new table ``working_week_evaluation`` notes which weeks were evaluated and is created by a migration. A recalculation of a day in the week that is running evaluates nothing. .. index:: CLI, Database, package:adsum-attendance