Feature: Start the working-time account from the imported history 

Description 

The import of Horilla can now compute the working-time account from the imported punches instead of an opening value that HR has to find out. The new setting MIGRATION_WORKING_TIME_FROM names the first day of the working-time history. It lies between MIGRATION_HISTORY_FROM (the default) and the cut-over date, otherwise the import refuses to start with configInvalid.

  • Working-time assignments start on the later of the employee's entry date and that day.
  • The file working-time-opening.csv is optional. When the history starts before the cut-over, a value in it is refused with historyAlreadyCounted, because it would count the history twice.
  • The go-live check of the opening balances passes when the account comes from the history.

Impact 

Without the setting the working-time history starts with the history, which is before the cut-over date unless MIGRATION_HISTORY_FROM is the cut-over date itself. The account then comes from the punches and working-time-opening.csv must stay empty. Set MIGRATION_WORKING_TIME_FROM to the cut-over date to keep booking confirmed opening values.