Weekly Overtime Rule

Note: With the 5.0.5.0 release, an enhanced version of this rule, the Weekly Overtime Plus Rule, was introduced. We recommend that you review the enhanced rule before configuring the Weekly Overtime Rule. See Weekly Overtime Plus Rule.

Class Name

com.workbrain.app.ta.quickrules.WeeklyOvertimeRule

Overview

Some organizations pay overtime during the course of one week so that employees who work more than a pre-determined number of hours during the week are entitled to overtime payment. Quite often, the weekly overtime threshold represents the number of weekly scheduled hours during the week.

Parameters

Parameter Description
Hour Set Description Defines the hour set to be used for weekly overtime.

See Daily Overtime Plus Rule.

Work Detail Time Codes A work detail's time code will only change if the related time code is displayed in this list.
Eligible Hour Types Defines the hour types of records to be included in the summing of hours. This parameter allows for cases when overtime should not include hours that have already been paid at overtime. Defaults to REG.
Premium Time Codes Counted Defines the time codes for premiums that count toward weekly overtime. This parameter is most often used when the organization elects to pay holidays as premiums. If Holiday Premium Time Code for the Public Holiday Pay Rule is set, then set this parameter to the code that was used.
Discount Time Codes Defines codes that count toward weekly overtime, but are not paid at weekly overtime.

Some organizations count SICK or VAC toward the total time that an employee must work before overtime is initiated, but they do not pay these codes at overtime. These codes then "discount" the total amount of time an employee must work from, say, 40 hours for the week to 32, assuming the employee was sick on one day for the entire 8-hour shift. These codes may occur after the current day.

For example, an employee is entitled to overtime pay after 40 hours worked during the week starting each Sunday. The employee works an extra hour on Tuesday and is SICK for 8 hours on Friday. By adding the SICK code to DISCOUNT TIME CODES, the 40 hours will be discounted by 8, leaving 32 hours to be worked. On Thursday, the employee will receive 1 hour of overtime.

If the code is included in the HOUR_SET_INCL_CODES list in the hour set, the code will get paid and the time will be discounted. Choosing one of the codes is important for proper behavior.

Day Week Starts Defines the first day of the week. Some organizations consider Sunday the first day of the week, while other organizations might consider Monday as the first day of the week. This parameter configures the day on which weekly overtime is reset and begins accumulating again for the week.
Apply OT to unscheduled hours Instructs the application to use schedule-based weekly overtime. When schedule-based overtime is used, the application performs these calculations in this order:
  1. Hours within the scheduled time are calculated.
  2. Hours before the start of the shift are calculated
  3. Hours at the end of the shift are calculated.

In this case, overtime accumulates outside the shift boundaries before accumulating inside the shift.

Premium Time Code Inserted When set, the application will insert a premium record for the overtime instead of updating the Work_Detail. Defaults to null.

When using a premium, the application does not apply hour type betterment.

Hour type For Overtime Work Details This parameter is used only when the Premium Time Code Inserted parameter is used (overtime is given as premium). This parameter is used to mark the details that produce overtime premiums with this hour type so that they can be:
  • Excluded or included in other overtime rules
  • Distinguished as details that produced the types of compensation (when looking at the work detail popup)
For an example of how this parameter works, see Daily Overtime Plus Rule.
Assign Better Rate Setting to True by selecting the check box will prevent situations that can arise whereby switching an employee to an overtime hour type results in them being paid a lower rate. For example, if an employer decides to create a rate override for a specific time period, and this time period is then overwritten due to overtime kicking in.