Business Example 1 - Award Premium Rule

This example covers these business needs:

  • Employees are paid a 2 hour premium if they work on weekends and have worked at least 6 days in a row. Any day that employees work for at least 5 hours counts as having worked that day.
  • Premiums are paid against the special job 'Weekend' and the employee's default departments and projects.

Configuration

Conditions:

Is Weekend Day Condition

Is Nth Day Worked Week Condition:

Parameter Value
DayIndex 6
TcodeNameList WRK
TcodeInclusive TRUE
MinMinutes 300

Rule parameters:

Parameter Value
Time Code PRM
Hour Type REG
Generate premium minutes from 120 in the Constant Value option
Job Weekend

Results

1a - Employee earns premium

In this example result, the employee works 8 hours Monday to Friday, and another 6 hours on Saturday.

On Saturday, both of the rule's conditions evaluate to true, as the work detail is a weekend day and the 6th day in a row the employee has worked. The rule fires, and pays the employee a 2 hour premium.

The premium is paid against the WEEKEND job and the employee’s default department.

1b - Employee does not earn premium

In this example result, the employee works 8 hours Monday to Friday, is off Saturday, and works 6 hour on Sunday. During this week, the rule’s conditions do not evaluate to true, since the employee had Saturday off, so the rule does not fire and no premiums are paid.