!!!MEAL SCHED - Meal Scheduled 
!!Time Rule Overview
This is a time rule helper for the time rule [Meal Penalty|TR_MEAL_PENALTY] time rule, to define a schedule of meals granted.

!!Requirements / Features
*Time Rule Type Code: MEAL SCHED	
!!Meal Schedule Types:
*[From|FROM_CLOCK_TIME] /[To|TO_CLOCK_TIME] are defined    
**When the From and To fields are defined, this is known as "Meal Schedule Meal Time"
**When the [Meal Penalty|TR_MEAL_PENALTY] time rule does not have the Premium or Value defined
**Creates the ability to apply different premiums, depending on the premium time
**The time rule will try to identify the premium to apply, based on the premium time

*[Value|TIME_RULE_VALUE] is defined               
**When just the Value is defined, this is known as "Meal Schedule Numbers of Meal Awarded or Taken"
**When the [Meal Penalty|TR_MEAL_PENALTY] does not have the Premium defined or From /To fields defined
**Creates the ability to apply different premiums, depending on the number of meals awarded
**The time rule will try to match the Band with the number of meals awarded or taken.  If a match is found, it will apply that Premium 
**If the number of meals awarded is greater than the Band, it will start the cycle from the beginning.
**The band is number of meal awarded or taken
**When the Value has been defined and is greater than 0, it will override the minimum meal length, defined in hours. If an employee takes a meal and it is less than the defined Value, then it will not be considered as a meal taken, and it will not reset the "counter" in [Meal Penalty|TR_MEAL_PENALTY]. 
*If an override Premium is defined, the system looks at the meal length defined in [Min Meal Length|TR_MIN_MEAL_LENGTH].  If no meal time is found, it will reset the 'counter'.
*[Premium |PREMIUM_CODE]is defined  
**When just the Premium is defined, this is known as "Meal Schedule Manual Meal Premiums".  In this situation the [Meal Penalty|TR_MEAL_PENALTY] should have a Premium defined 
**Users have the ability to configure if any manual Premium is added, the "counter" will reset in [Meal Penalty|TR_MEAL_PENALTY] 
**Used when the From/To and Value fields have not been defined

%%information Any premium defined on all 3 MEAL SCHEDULE types will reset the "counter".%%

!!Additional Info
[Frequency|FREQUENCY] Predefined as Never

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

!Meal Schedule Meal Time
||[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]
| |Never|802| |No|From time|To time|No|No|No|Required| |No|No


!Meal Schedule Numbers of Meal Awarded or Taken
||[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]
| |Never|802| |# of meals awarded or taken|No|No|Override minimum meal length, in hours|No|No|Required| |No|No


!Meal Schedule Manual Meal Premiums
||[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]
| |Never|802| |No|From time|To time|No|No|No|Required| |No|No


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