Rule configuration
To enforce the example eligible requirements (680 hours lifetime and 130 hours in the last quarter), the core Error Rule can be configured with two condition sets. Included in each condition set are two conditions:
- Check the employee’s eligibility balance. For example, have they worked enough time?
- Ensure the employee has recorded at least 1 minute of paid sick time on the calculation date. For example, they are attempting to take paid sick leave on the day being evaluated.
The time code values can differ from implementation to implementation. These tables show the configuration rule details:
Rule | Error Rule |
---|---|
Condition Set 1: Less Than 130 Hours Per Quarter | |
Error Message | Emp cannot take paid sick leave – worked less than 130 hours last quarter |
Stop Execution | True |
Condition A | Is Balance in Range Condition |
Balance Name | PREV-QTR |
Balance Value | 7800 |
Operator | < |
Condition B | Worked N Minutes Condition |
Work Minutes | 1 |
Tcode Name List | PAID-SICK |
Inclusive? | TRUE |
Htype Name List | REG |
Inclusive? | TRUE |
Expression | [blank] |
D/P | [Client-Specific] |
Start Day | [blank] |
Rule | Error Rule |
---|---|
Condition Set 2: Less Than 680 Hours Since Start | |
Error Message | Emp cannot take paid sick leave until they have worked 680 hours |
Stop Execution | True |
Condition A | Is Balance in Range Condition |
Balance Name | ELIGIBLE-MIN |
Balance Value | 40800 |
Operator | < |
Condition B | Worked N Minutes Condition |
Work Minutes | 1 |
Tcode Name List | PAID-SICK |
Inclusive? | TRUE |
Htype Name List | REG |
Inclusive? | TRUE |
Expression | [blank] |
D/P | [Client-Specific] |
Start Day | [blank] |