Feature: Correct the employment type of a period 

Description 

The correction of an employment period (correctEmployeeEmployment) takes an optional employmentTypeId besides the hours and the dates. It follows the rules of the other fields: a reason is required, days in the past and in closed payroll months are confirmed first, the days from the earliest changed day on are recalculated once, and the change history records the old and new type. The Correct dialog on the employment tab of the employee record offers the type as a select. An unknown or archived type is refused with 422; the type a period already has, even an archived one, is no change.

Impact 

Clients that do not send employmentTypeId see no difference.