Compare Rehire and Term Dates Condition
com.workbrain.app.ta.conditions.CompareRehireAndTermDatesCondition
The Compare Rehire and Term Dates Condition compares an employee's last termination date to their rehire date.
Many paid sick laws allow companies to discard the balance of rehired employees who have been away from the company for a specified amount of time. For example, you can use this condition with the Balance Transfer Rule to remove the paid sick balance of employees who are rehired 12 months or more after their last termination.
Parameters In
Name | Type | Description | Example |
---|---|---|---|
Period | String | Used in conjunction with the Units parameter.
Defines the period that is being compared between an employee's rehire date and their last termination date. Options are Day and Month. |
Month |
Units | Integer | User in conjunction with the Period parameter.
Determines the duration that is used by the condition to compare an employee's last termination date against their rehire date. |
12 |
Operator | String | The operator that is used when comparing an employee's
rehire date and their last termination date.
Supported operators are <, <=, =, <>, >=, and >. |
> |
RehireDate | String | The employee field that is used to store an employee's
rehire date. These options are supported:
Note: The condition can only return true on the employee's
rehire date.
|
Hire Date |
Example
Compare Rehire and Term Dates Condition:
In this example, the condition evaluates to true on the rehire date of employees if they were rehired 12 months or more after their last termination. Otherwise, the condition evaluates to false.
Parameter | Value |
---|---|
Period | Month |
Units | 12 |
Operator | >= |
RehireDate | Hire Date |
Balance Transfer Rule:
If the preceding condition evaluates to true, this rule discards the employee's paid sick balance.
Parameter | Value |
---|---|
Balance Transfer From | PAID-SICK |
Balance Transfer Ratio | |
Balance Transfer Message | Sick not restored due to inactivity |
Balance Transfer/ Deduct | Deduct Balance (selected) |
Ignore Current Day Accruals? | (selected) |