!!!OT NTH DAY
!!Time Rule Overview
This time rule will grant an employee overtime for the hours worked on the nth day of the scheduled week, that exceed the number of hours defined in the Band.  

The first day of the week is determined in the order below: 
* The first day of the week, defined in the Work Rule
* The "WK START OFF DAY" time rule, if it is defined 
* By Shift Pattern / Work Calendar start day, if the time rule's Day field has the "Week Start Date" defined


!!Additional Info
[Band|QUALIFYING_BAND]
*multiple bands are supported   
Frequency predefined as Every Day

!!Implementation
The time rule should be set up in [IDWR] as shown below. 


||[Cycle|CYCLE_NUMBER]||[Frequency|FREQUENCY]||[Seq|SEQUENCE]||[Time Rule Type|TIME_RULE_TYPE_TEXT]||[Band|QUALIFYING_BAND]||[From|FROM_CLOCK_TIME]||[To|TO_CLOCK_TIME]||[Value|VALUE]||[Day|DAY_OF_WEEK]||[Time Code|TIME_CODE_VALUE]||[Premium|PREMIUM_CODE]||[Target Time Code Set|TARGET_TIME_CODE_SET]|| [Apply Time Code Set|APPLY_TIME_CODE_SET]||[Action|TIME_RULE_ACTION]
| |Every Day|1380| |Minimum # of hours worked to qualify [1]|No|No|Nth consecutive worked day of the week|Allowed [2]|Allowed|Allowed| |Allowed|Add/Replace

[1] If current date is the nth consecutive worked day in a workweek, the system will apply overtime for the hours that are above the amount defined in the Band.
*If the band is zero, the system will apply the overtime for the entire day.
*If the band is greater the zero, the system will apply the overtime for the hours that are above minimum hours worked in the workweek



[2] Week Start Date  
*If the Day field is not defined as the "Week Start Date", the start day of the week is determined by work rule first day of the week or by the "WK START OFF DAY" time rule.
*If the Day field is defined as the "Week Start Date", the start day of the week is determined by the start date on the Work Calendar or the Shift Pattern (for team post owners). 



*hours over 40 hrs - OT 15
*hours over 44 hrs - OT 20



!!Example
    Band:  40
    # of Days from Wk Start Day:  5(6, 7)
    Day: none
    Time Code: OT20
||# of days from WS||Day 1||Day 2||Day 3||Day 4||Day 5||Day 6||Day 7||Total||Actual Result in TR Calc
|5|	12|	8|	8|	8|	8|  |  |36|	4h of OT20
|61|	12|	8|	8|	8|	8|	8|  |44|	8h of OT20
|7|	12|	8|	8|	8|	8|	8|	8|	52|	8h of OT20


----
![Notes|Edit:Internal.TR_OT_NTH_DAY] 	
[{InsertPage page='Internal.TR_OT_NTH_DAY' default='Click to create a new notes page'}]