!!!PTOD MIN TM BTW - Prem Time of Day Min Time Between
!!Time Rule Overview
This time rule will apply a premium and/or time code for the portion of an employee's shift that falls within the defined From and To time, and they worked the minimum number of hours defined in the Band.

Another variation of this time rule is to specify a percentage of total work time that the Employee must work within the defined From and To time to qualify for the time code/premium. 

The defined Day of the week will be taken into consideration, or if this field is null, it will be applied to all days. 

!!Requirements / Features
*Time Rule Type Code: PTOD MIN TM BTW

!!Additional Info
* [Band  |QUALIFYING_BAND]: multiple bands are supported
*A number greater than or equal to 1 signifies the min hrs worked between From/To time to qualify   
*A number less than 1 signifies the percent of total shift/day time worked that falls between From/To time to qualify, for example .50 would signify 50%. 
[From |FROM_CLOCK_TIME]
*start time
[To|TO_CLOCK_TIME]
*end time  
[Value |TIME_RULE_VALUE]
*Used only for the percentage version of the time rule. This is used as an additional indicator for the calculation of total work time.
**If  no value is provided then all of the work time in the entire day will be used to calculate the total work time.
**If -1 is provided then only the time within the shift that falls between the From/To range will be used to calculate the total work time. If the Employee works in another shift in the same day the time worked in that shift will not be included in the total work time. This should be used if there are multiple shifts within a day. 
[Frequency |FREQUENCY]
*predefined as ‘Every Entry’
!!Implementation
The time rule should be set up in [IDWR] as shown below. See [Time Rule Improvements|TIME_RULE_IMPROVEMENTS] for additional information regarding [IDWR].

||[Band|QUALIFYING_BAND]||[From|FROM_CLOCK_TIME]||[To|TO_CLOCK_TIME] ||[Value|TIME_RULE_VALUE]||[Day Of Week |DAY_OF_WEEK]||[Time Code|TIME_CODE]||[Premium |PREMIUM_CODE]||[Action|TIME_RULE_ACTION]||Time Code Set
|Min hrs worked between From/To time  to qualify\\>=1 number of hours\\< 1 percentage of time worked|Start Time|End Time|Only for % variation|Allowed|No|Yes|Replace|Allowed


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