Daily Overtime Rule
Class Name
com.workbrain.app.ta.quickrules.DailyOvertime
Overview
When employees work extra time outside their normal shift and beyond the effects of any graces they are bound by, they are usually paid what is commonly known as daily overtime. The term "daily" comes from the fact that overtime is earned on a daily basis. A Weekly Overtime Rule also exists. See Weekly Overtime Rule.
Depending on the nature of the day (scheduled, unscheduled, holiday, Saturday, Sunday, first day off, second day off), an employee may be paid one of several different types of compensation.
If the condition being tested is true, the application applies the overtime based on the specified parameters and stops processing the other conditions. We recommend a catch-all condition using the Any Day parameter value as the highest priority number. This condition means that you are always assured of an overtime being applied in case all other conditions fail. But if this condition does not comply with your company rules, then do not create this catch-all condition.
Parameters
Parameter | Description |
---|---|
Hour Set Description | The hour set that determines how overtime is
determined. The parameter string is a comma-delimited list of tokens, with each token consisting of an hour type and duration in minutes:
For example, if the parameter string is REG=480,OT2=240,OT3=9999, then the first 480 minutes will be REG, the next 240 minutes will be OT2, and anything after that will be OT3. If the parameter string is REG=0,OT2=800*,OT3=9999, then scheduled minutes will be REG and the minutes after scheduled minutes, up to 800 minutes, will be OT2. A duration of 0 is reserved to represent the scheduled duration (net schedule without the unpaid breaks). An asterisk (*) at the end of a duration means "up to duration minutes". An asterisk (*) is used in conjunction with a duration of 0. You can configure how hour types are changed based on hour type multiples with the Assign Better Rate parameter. |
Add Premium For First Hourtype | Determines whether the premium is added to the first
hour type in the hour set description. For example, premiums are not
allocated on the first hour type when the hour set is REG=480,OT1=9999.
Premiums are allocated when the hour set is OT1=480,OT2=9999. This parameter is only effective if the Premium Time Code Inserted parameter is selected. |
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 the case when the overtime should not include hours that have already been paid at overtime. Defaults to REG. |
Premium Time Codes Counted | Defines which premium record time codes are counted toward overtime. Defaults to blank. This parameter is rarely used. |
Discount Time Codes | Defines codes that count toward daily overtime, but are not paid at weekly overtime. |
Apply OT to unscheduled hours | Instructs the rule to apply overtime based on the shift
boundaries. Defaults to False. When this parameter is set to True (check box
is selected), overtime is applied in these three steps:
For example, if an employee who earns overtime after eight hours is scheduled to work 11:00 to 19:00, but works 10:00 to 20:00 instead, one hour of overtime is applied from 10:00 to 11:00 and another hour of overtime is applied from 19:00 to 20:00. |
Premium Time Code Inserted | When set, the application will insert a premium record
for the overtime instead of updating the WORK_DETAIL. 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:
For example:
Then the work details for an employee working 10:00 to 20:00 are:
|
24 Hour Start Time | Some clients pay overtime on a 24-hour basis, meaning
that overtime begins accumulating at a certain time and continues up until
the end of the 24 hours. When set, the application will apply overtime to
the segments of time that occur before and after this time independently of
each other. The format is mm/dd/yyyy HH:mi, where the date part is ignored and the time part is added to current calculation date when the cutoff point is determined. For example:
Then the work details on Day 2 for an employee working 12:00 to 20:00 on Day 1 and 10:00 to 20:00 on Day 2 are:
Since the cutoff time is 12:00, the rule looks at the work details between Day 1 12:00 to Day 2 12:00. |
Assign Better Rate | Setting this parameter to True (select the check box) will prevent situations that can arise whereby switching an employee to an overtime hour type actually 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. |