Business Example 2 - Error Rule

If an employee attempts to request vacation time (VAC) on a weekend, the time off request should be prohibited and an error message ("No Vac on Weekends!") should be displayed to the employee in the Time Off Planner.

Configuration

Is Weekend Day Condition

Worked N Minutes Condition:

Parameter Value
WorkMinutes 1
TcodeNameList VAC
TcodeInclusive TRUE
HtypeNameList REG
HtypeInclusive TRUE
Expression String
DetailPremium
StartDayOfTheWeek
Operator >=

Rule parameters:

Parameter Value
Error Message No Vac on Weekends!
Stop Execution Selected