Business Example 1 - Error Rule
The timesheet should be put in error if a part-time employee attempts to record training time (TRN) on their timesheet.
Configuration
Is Employee Property Generic Condition:
| Parameter | Value |
|---|---|
| Expression String | "empFulltime<>Y" |
Worked N Minutes Condition:
| Parameter | Value |
|---|---|
| WorkMinutes | 1 |
| TcodeNameList | TRN |
| TcodeInclusive | TRUE |
| HtypeNameList | REG |
| HtypeInclusive | TRUE |
| Expression String | |
| DetailPremium | |
| StartDayOfTheWeek | |
| Operator | >= |
Rule parameters:
| Parameter | Value |
|---|---|
| Error Message | Part-time employees do not qualify for paid training. |
| Stop Execution | Selected |