.. include:: /Includes.rst.txt .. _feature-1791349476: ================================================ Feature: Point duplicates to the existing record ================================================ Description =========== When creating, changing or importing an employee fails on a work e-mail or personnel number that another employee of the company already has, the violation carries the code ``duplicate``, the ``existingEmployeeId`` and its ``status``, so HR can open that record; for an exited employee it suggests ``rehireEmployee``. A value taken in another company is reported as ``duplicate`` without naming the record. Impact ====== The codes ``employee.work_email_taken`` and ``employee.personnel_number_taken`` for values stored already are replaced by ``duplicate``; within one import file, two rows with the same work e-mail keep ``employee.work_email_taken``. .. index:: API, package:adsum-core