Professional Documents
Culture Documents
Oracle Corporation
OTL: Overtime
Functionality On
Holidays
Descriptions, Setups and Examples
An Oracle Whitepaper
Author
Reviewed By
2
Oracle Time and Labor
CONTENTS
Holidays and Worked hours on Holidays .......................................................................................................................4
Erstwhile Holiday Functionality in OTL ......................................................................................................................4
Drawbacks .............................................................................................................................................................4
Profile Option HXT: Overtime Functionality on Holidays ..............................................................................................7
No Explosion Except Holiday Rule ............................................................................................................................7
Normal Explosion and Holiday Rule .........................................................................................................................7
Points to note while considering this profile option .............................................................................................9
How to set the Earning Group ...............................................................................................................................9
How to setup Holiday Premium .............................................................................................................................9
How to setup Shift Differential Premium ............................................................................................................10
Daily/Weekly/Special Overtime only and Holiday Rule ........................................................................................12
How to set the earning group ..............................................................................................................................14
How to setup Holiday Premium ...........................................................................................................................19
How to set Up Shift Differential Premiums .........................................................................................................20
Daily/Weekly/Special Overtime and Holiday Rule only for Regular .....................................................................23
How to set the Earning group ..............................................................................................................................25
How to set up Holiday Premium ..........................................................................................................................26
How to setup Shift Differential Premiums ...........................................................................................................27
Points to note in setup ............................................................................................................................................28
3
Oracle Time and Labor
Rule Name
Holiday Regular Rule
Holiday Overtime Rule
Type
Holiday Earning Rule
Holiday Earning Rule
Element
Time Worked (holiday)
Overtime (holiday)
Hours
8
24
If the employee works for 7 hours he gets paid with Time Worked(holiday) element for 7 hrs.
If the employee works for 10 hours he gets paid with Time Worked (holiday) element for 8 hrs, and 2
hours of Overtime (holiday).
This explosion overrides any other rules (Daily/Weekly) in case the day worked is a holiday as defined in
the Holiday calendar. It works like a special daily overtime rule, which takes highest precedence on a
Holiday day. So as per this functionality when an Employee works on a Holiday day, the only thing that
he will get paid is what is defined in the Holiday Rules in the Earning policy.
DRAWBACKS
4
Oracle Time and Labor
Needless to say, this has drawbacks. The legislative requirements of Daily/Weekly and Special overtimes
are not met with, if a Holiday falls towards the latter half of the week, when the employee has crossed
over weekly overtime.
Here is an example
Table 2
Monday
Tuesday
Wednesday
Thursday
Saturda
y
Friday
Time Worked
12
12
12
12
12
Explosion
Regular
Overtime
12
12
12
4
8
12
Sunday
This is a normal work pattern for many organizations, where there is a Weekly overtime rule defined to
pay the employee in Overtime for hours above 40. The weekly overtime paid is added as part of the
Earning group. On Thursday, which is the Fourth day of the week, Weekly overtime is reached. On the
Fifth Day all the 12 hours falls on to Weekly overtime. Since the employee has worked a total of 60
hours for the week, he is entitled to receive 20 hrs of Weekly overtime.
In case there is a holiday rule defined, and the holiday falls on Monday, the explosion changes like
below, which might still is ok.
Table 3
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
12
Wednesday
Thursday
Friday
12
12
12
12
12
12
4
8
12
Saturday Sunday
8
4
Here, Regular hours on Monday did not get paid. Nevertheless Holiday rule came into calculation there
and paid the employee according to Holiday Rule. This is fine because Holiday Pays would normally be
more than Regular Pay and no legislative requirements are broken here.
5
Oracle Time and Labor
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
12
12
12
12
12
12
Thursday
12
Friday
Saturday Sunday
12
12
8
4
Here the scenario differs slightly. On Thursday, the Holiday rule came in and paid the employee as per
the rules. On Friday, since employee has worked 48 hours since then, has exploded into 12 hours. But
this breaks a few legislative requirements. Employee worked for 60 hours in the week, but got paid only
12 hours of Weekly overtime. It can be argued that the holiday Pay on Thursday could have covered the
overtime, but all of it will depend upon how the Labor laws are set up for the organization. If the
legislative requirement says that any hour over 40 SHOULD be paid as Overtime for the employee, we
just broke the law with this kind of explosion.
There you go with the drawback of the existing functionality. The existing functionality was good
enough until Weekly overtime is reached. Once it reaches Weekly overtime, the Holiday rule intervenes
in other Overtime rules, and creates a mismatch in Overtime rules.
6
Oracle Time and Labor
This option preserves the existing functionality of the application as described above. How this option
works is explained above.
Monday
Tuesday
Wednesday
Thursday
Friday
Time Worked
12
12
12
12
12
Explosion
Regular
Overtime
12
12
12
4
8
12
Saturda
y
Sunday
This of course is the explosion when there are no holidays in the Week.
7
Oracle Time and Labor
Table 6
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
Friday
12
12
12
12
12
12
12
12
4
8
12
Saturday Sunday
8
4
Please note that on Monday, for which 12 hours are worked, Regular hours as well as hours as per
Holiday rule got paid.
Table 7
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
Friday
12
12
12
12
12
12
12
12
4
8
12
Saturday Sunday
8
4
As the name of the profile option says, this option makes the Holiday rule apply on top of the existing
explosions.
8
Oracle Time and Labor
On a holiday, employee is paid according to Daily/Weekly/Special rule and Holiday rule. This
means that you pay twice for a given hour of work, although in different Payroll elements.
Table 8
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
Friday
12
12
12
12
12
12
12
4
8
12
12
Saturday Sunday
8
4
This happens because the hours paid under holiday rule on Monday got counted towards weekly cap
and the system counts 24 hours for Monday, rather than the 12 hours the person worked for. To avoid
such kind of circumstances, it is advised to avoid including the Holiday rule elements to earning group.
HOW TO SETUP HOLIDAY PREMIUM
A similar case exists while adding a Holiday Premium to act on Holidays for every hour worked. Such a
holiday premium is a requirement for many organizations on top of the Holiday rules and other
overtimes. Premiums may be of any kind. Nevertheless, for this option of the profile, since you are
paying more than the number of hours actually worked, it would make sense to attach the premium to
EITHER the holiday rule elements or Other Regular and Overtime elements and NEVER to BOTH.
Attaching Holiday premiums thru Premium Eligibility Policy to both the set of elements will result in
overpayment of holiday premiums, like below.
9
Oracle Time and Labor
Monday
Time Worked
Tuesday
Wednesday
Thursday
12
12
12
12
12
12
12
Friday
Saturday Sunday
12
Explosion
Regular
Overtime
Holiday Worked
Holiday Overtime
Holiday Premium
12
12
Holiday Premium
12
For Regular
10
Oracle Time and Labor
Table 10
Monday
Time Worked
Tuesday
Wednesday
Thursday Friday
11:00
23:00
12
12
12
11:00
23:00
12
12
Saturday
Sunday
12
Explosion
Regular
Overtime
Holiday Worked
11:00
19:00
Holiday Overtime
19:00
23:00
SDP
18:00
23:00
SDP
18:00
23:00
12
For Regular
Hours
To avoid this kind of duplication, it is imperative that SDP elements may not be attached thru
PEP to the Holiday rule elements, when using this profile option.
11
Oracle Time and Labor
This is the third and more sophisticated option available for Holiday and overtime for the new profile
option HXT: Overtime Functionality on Holidays. If this is set,
All overtime (Daily/Weekly/Special) elements that fall on a holiday day will be paid in full
All holiday elements ( elements attached to the holiday rule in earning policy) will be paid for
the total number of hours worked.
To understand this, lets get back to the example of a 60 hour work week. Here is the time
worked and expected explosion when there is no holiday.
Table 11
Monday
Tuesday
Wednesday
Thursday
Friday
Time Worked
12
12
12
12
12
Explosion
Regular
Overtime
12
12
12
4
8
12
Saturday Sunday
When a holiday falls on Monday, with profile option set to this value, the explosion would be
Table 12
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
12
Wednesday
Thursday
Friday
12
12
12
12
12
12
4
8
12
Saturday Sunday
8
4
12
Oracle Time and Labor
As you can see here, on the holiday no regular element was paid. Holiday rule was paid fully for the
total number of hours. Lets see a scenario with Holiday falling towards the end of the week.
Table 13
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
12
12
12
12
12
12
Thursday
Friday
Saturday Sunday
12
12
8
8
12
As you can see in the above example, on Thursday, which is a holiday, 8 hours of overtime that the
employee was supposed to get was paid. Also, holiday rule got applied for all 12 hours worked during
the day. The 4 regular hours which the employee would have got if the day was not a holiday was not
paid. This is an example of a holiday falling on a day which has regular and overtime to be paid
according to other (daily/weekly) rules. On the holiday, the employee worked for 12 hours, and he got
paid for a total of 20 hours, according to Weekly overtime rule and Holiday rule.
In case the holiday was on Friday instead of Thursday, the following explosion would have happened.
Table 14
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
12
12
12
12
12
12
12
4
8
Friday
Saturday Sunday
12
12
8
4
13
Oracle Time and Labor
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
Friday
12
12
12
12
12
12
12
12
4
8
12
Saturday Sunday
Here employee worked for 60 hours in the week, and he is supposed to get 20 hours of overtime. With
the holiday coming on Thursday, explosion changes as below.
Table 16
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
12
12
12
12
12
12
Thursday
Friday
12
12
8
8
12
Saturday Sunday
14
Oracle Time and Labor
Here the system assumes the regular element being paid on the day, and does OT calculation with the
below picture.
Table 17
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
Friday
Saturday Sunday
12
12
12
12
12
12
12
12
4
8
8
12
To get the scenario clear lets get an example of time worked like below.
Table 18
Monday
Tuesday
Wednesday
Thursday
Friday
Time Worked
12
12
12
12
Explosion
Regular
Overtime
12
12
10
2
12
Saturday Sunday
15
Oracle Time and Labor
When the holiday falls on Thursday and HXT: overtime Functionality on Holidays is set to
Daily/Weekly/Special Overtime and Holiday rule on Holidays is set, the following explosion occurs.
Table 19
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
Friday
Saturday Sunday
12
12
12
12
12
12
10
2
8
12
Here again, the 10 hours on Thursday, which is the grayed out cell is not paid. But if the system did not
know of this 10 hours, then the explosion would have been like below.
Table 20
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
12
12
12
12
12
2
8
Friday
Saturday Sunday
12
8
4
Note that Friday explodes into 8 hours regular and 4 hours overtime instead of all 12 hours of overtime.
This is because, without the regular element on Thursday, the total number of hours worked for the
week is 12+12+6(all regular, Monday thru Wednesday)+2(overtime) = 32 hours. System has to assume
the Weekly cap is not reached, and will pay 12 hours into 8 regular and 4 overtime hours.
16
Oracle Time and Labor
Please note that this is not how the explosion happens; it is just an explanation of how a less intelligent
system would have behaved.
To understand how adding Holiday Worked elements to Earning rule would topple up the explosion,
lets go into a 3 tier Weekly rule where anything above 52 hours in a week is Weekly doubletime.
Look at the below explosion.
Table 21
Monday
Time Worked
Explosion
Regular
Overtime
Doubletime
Tuesday
Wednesday
Thursday
12
12
12
12
12
10
2
Friday
Saturday Sunday
12
10
2
The Friday hours are exploded to 10 hours of Overtime and 2 hours of Doubletime, because till
Thursday, a total of 42 hours have been worked. Anything over 52 is to be paid as doubletime.
Lets impose the holiday on Thursday, and see the explosion.
Table 22
Monday
Time Worked
Explosion
Regular
Overtime
Doubletime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
12
12
12
12
12
10
2
Friday
Saturday Sunday
12
10
2
8
4
Note the grayed out cell of Regular hours not being paid and System already knowing it. If System did
not know about it, the following explosion would have happened.
17
Oracle Time and Labor
Table 23
Monday
Time Worked
Explosion
Regular
Overtime
Doubletime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
12
12
12
12
Friday
Saturday Sunday
12
12
8
4
8
4
Till Thursday, there are a total of 32 hours being worked, and system explodes the 12 hours on Friday to
8 hours of Regular and 4 hours of overtime.
In case you add Holiday worked and Holiday overtime to the earning group, this would be the resulting
explosion.
Table 24
Monday
Time Worked
Explosion
Regular
Overtime
Doubletime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
12
12
12
12
Friday
Saturday Sunday
12
12
8
4
8
4
Since there are 44 hours as per the earning group up to Thursday, system explodes the 12 hours into 8
Overtime and 4 doubletime. Here again the explosion is not right because employee worked for a total
18
Oracle Time and Labor
of 54 hours in the week, which means he is entitled to receive 12 hours of Overtime and 2 hours of
doubletime.
To avoid all this kind of Overpayment and underpayment issues, the System is equipped to count the
Regular hours paid on the Holiday, even though it is not paid. It also means that adding Holiday Rules
elements on to the Earning group is to be avoided completely because the system automatically takes
care of it.
Table 25
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
12
12
12
12
12
12
Thursday
Friday
12
12
8
8
12
Saturday Sunday
Holiday
Premium
Holiday
Premium
8
12
For Holiday
Worked and
Holdiay OT
elements
For Overtime
element
19
Oracle Time and Labor
To avoid these kinds of overpayment, it is imperative that you attach any Holiday Premiums only
to the elements in the Holiday rule if this is the profile option you are selecting.
12
12
11:00
12 23:00
12
11:00
12 15:00
Saturday Sunday
12
Explosion
Regular
12
Overtime
15:00
23:00
SDP
12:00
15:00
SDP
15:00
23:00
12
Corresponding to the
regular hours
Corresponding to the
Overtime hours
20
Oracle Time and Labor
Actually the two SDP entries would be combined this is put up to make the idea clearer.
Table 27
12
12
11:00
12 23:00
12
11:00
12 15:00
Saturday Sunday
12
Explosion
Regular
12
Overtime
15:00
23:00
SDP
15:00
23:00
Holiday
Worked
11:00
19:00
Holiday OT
19:00
23:00
SDP
12:00
19:00
SDP
19:00
23:00
12
21
This is not paid,
System
Oracle
Time and Labor
assumes this
As you can see here, there is a chance for Duplicate SDPs in case Shift Differential element is attached to
both the Holiday rule elements and the other elements. But it throws a deadlock situation because not
attaching it to Holiday rule element might mean that you wont get SDP paid on a holiday day where you
worked for 12 hours but there are no overtime hours, like when a holiday falls on the beginning of the
week. Not attaching SDP element to Regular or overtime element is not an option because you need
SDP to be paid on normal days too.
Fortunately, system is now equipped to eliminate any of the duplicate sdps. In case of the above
example, system will eliminate the 15:00 to 23:00 entry for SDP because it is a duplicate entry. System
scans thru all the available SDP elements paid and eliminates whichever one is overlapping another or is
the exact copy of another.
22
Oracle Time and Labor
All overtime (Daily/Weekly/Special) elements that fall on a holiday day will be paid in full
All holiday elements ( elements attached to the holiday rule in earning policy) will be paid, but
only for those hours which should have been Regular in the first place. If the explosion is such
that all the hours worked goes to overtime, no holiday rule is applied.
Here is our 60 hours work week, when there is no holiday attached.
Table 28
Monday
Tuesday
Wednesday
Thursday
Friday
Time Worked
12
12
12
12
12
Explosion
Regular
Overtime
12
12
12
4
8
12
Saturday Sunday
When a holiday falls on Monday, with profile option set to this value, the explosion would be
23
Oracle Time and Labor
Table 29
Monday
Time Worked
Tuesday
12
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Wednesday
Thursday
Friday
12
12
12
12
12
12
4
8
12
Saturday Sunday
8
4
Here is an example of with holiday falling towards the end of the week, on Thursday. On
Thursday, 4 hours of regular and 8 hours of overtime were to be paid, if it was not a holiday.
Table 30
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
12
12
12
12
12
12
Thursday
Friday
12
12
8
4
12
Saturday Sunday
In case Friday was a holiday in place of Thursday, the following would have happened.
Table 31
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
Friday
12
12
12
12
12
12
12
12
4
8
12
Saturday Sunday
In this above example, there is not Holiday pay coming into picture. That is because all 12 hours worked
were moved to Overtime as per the weekly earning rule, and since there are no regular hours, the
Holiday rule finds no place to apply itself.
25
Oracle Time and Labor
Table 32
Monday
Time Worked
Explosion
Regular
Overtime
Holiday Worked
Holiday
Overtime
Tuesday
Wednesday
Thursday
Friday
12
12
12
12
12
12
12
12
4
8
4
12
Saturday Sunday
As is the case with 3rd profile option, having Holiday Rules elements in earning group will result
in unnecessary overpayments.
27
Oracle Time and Labor
Any hours worked under 8 should be paid a Holiday pay, over and top of the daily/Weekly
explosions, at a different rate.
For any hours worked over 8, the same rate paid for 8 hours will prevail.
In this case, the Holiday rule setup would have only one rule, upto 8 hours. For all the profile
options, if the employee works more than 8 hours, he gets paid only 8 hours.
28
Oracle Time and Labor
OVERRIDING OF HOURS
Holiday Rule is a form of explosion performed by the OTLR engine. To facilitate this, it is required that
users do not enter elements or enter only the base element type in self service or PUI. If the holiday
Rules element is explicitly entered, it is assumed to be an overridden element and no explosions would
result.
29
Oracle Time and Labor