Feature: Import the employees of Horilla 

Description 

The stage employees imports the employees of the imported companies with first and last name, work e-mail, personnel number, entry and contract end date, department, job position, job role, employment type, location and weekly contract time. Nothing else is read from Horilla: no date of birth, address, phone, family, emergency contact, bank, salary or photo.

  • The personnel number comes from personnel-numbers.csv, else from the badge id; a missing or shared badge id is reported (missingPersonnelNumber, duplicatePersonnelNumber).
  • The weekly contract time comes from weekly-contract.csv, else from the shift's weekly full time; without either the employee is reported (missingWeeklyContract).
  • A contract end date is no exit. An employee inactive in Horilla is exited with the reason migrated on the contract end date, else on the day of the last attendance; without either the employee is skipped (inactiveWithoutHistory).
  • Nobody is invited and no user is created.

Impact 

Only with MIGRATION_ENABLED=1.