<html><head>
<style></style><style></style><style></style><style></style><style></style><style></style><style></style><meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="MSHTML 11.00.10570.1001" name="GENERATOR"><title>Employee consistency checks - rejoining</title></head>
<body>
<h3>Employee consistency checks - rejoining</h3>
<div>The following changes were made:</div><div><br>So far, the employee consistency check for overlaps only checked whether there were no two simultaneous non-parallel, non-free, non-dormant employment contracts. Employment contracts of a "Yes" in the field "Payment without employment" have been ignored so far. The overlap check has now been changed or extended as follows:</div><ul><li>There are now also dormant employment contracts, free employment contracts and parallel employment contracts included in the check.<br><br>Four categories were created for this:<br>1. Non-parallel non-free<br>2. Non-parallel free<br>3. Parallel-not free<br>4. Parallel-free<br>In each of these 4 categories, none of the employment contracts including the dormant employment contracts may overlap.<br><br></li><li>In principle, the period from the EC start to the EC end is checked. If there is no EC end yet, the 31.12 of the highest payroll year relevant to the employee is used.<br><br></li><li>If at least one of the months 0 or 1-12 has a free employment contract (i.e. free EE or marginally independent EE), the period of the check is divided into individual months and each month of this employment contract is marked as free or non-free employment. Depending on this, this month is taken into account in the respective category. The field "Insurance group" is in the master personnel index month and not in the employment contract.<br><br></li><li>If not all months of a year have been settled but all months settled (incl. month 0) have the same flag for distinction between freer and non-free employment contracts, the months not settled also get the same flag so that the missing months can be simulated. <br><br></li><li>Months not settled are only taken into account in the case of unbilled-months. Unbilled free months are ignored. If there is no PRM data record in a year that shows whether the employment contract is either free or not free, a fallback value is used, if possible.</li></ul><div>A refactoring has been set so that the employee consistency check is automatically tested and thus delivered with greater errors and also remains valid for later changes. The readability of the code has been improved, which makes the code maintenance in this part of the program permanently easier. </div><div><br></div><div>Rejoining in the next calendar year is not allowed if there has already been a rejoining in the current calendar year and there is therefore an employment contract without an EC end date. </div><div><br></div><div>When rejoining, the user is warned if there are already overlaps between employment contracts which lie within the year of rejoining or later.</div><div><br></div><div>The check for overlaps is currently ONLY carried out with REGISTER. This means for other employee functions, such as "Create parallel employment", "Delete resignation", "Move EC start/end date" or when editing the master employee index, such as changing the insurance group or the fields "Payment without employment" and "Parallel employment number", there is currently no check for overlaps.<br><br>The purpose of the check is to prevent it from being created due to a rejoining where there are several employment contracts for the same period.<br></div><div><br></div><div>Basic information:<br></div><ul><li>Employment contracts can form part of a parallel employment (if a parallel employment number  0 has been set) or not.<br><br></li><li>Employment contracts can be divided into "free contractors" or "not independent contractors" due to the "insurance group". A "only independent contractors" is also counted among the independent contractors. All other 3 insurance groups (full, low-rated, apprentice) count as "not independent" employment contracts.<br><br></li><li>You can create different categories 4 based on these two characteristics (parallel or non-parallel) (free or non-free):<br>1. NonParallel and NonFree<br>2. Non-parallel and free<br>3. Parallel and non-free<br>4. Parallel and free<br><br>In very simplified terms, each employment contract falls into exactly one of these 4 categories.<br>There must not be two employment contracts in each of these 4 categories that overlap in time!</li></ul><div><br></div>
</body></html>
