!!!TR_ADJUST_LUNCH
!!Time Rule Overview
The ADJUST_LUNCH time rule reviews the current lunch period rules and ensures that the minimum time is taken for the lunch period.
Example if an employee clocks OUT for lunch and back IN, in a time frame that is equal to or less than 15 minutes, the time rule will top up the lunch period to the 30 minute minimum lunch time. 

Note that the adjusted lunch period is not seen on the Time Sheet [IPTS]. __This adjustment is only visible in the view audit tab.__ This adjustment will move forward with the functions [UPCTS] or [UPCTSP] as the transactions move to [IPTR] or [IPPH].

If an OUT punch exist before the lunch time, and the lunch time is less than the defined “Up To Hrs” Value, then the meal time will be increased up to the defined value by reducing the time register under the time codes defined in the Apply Time Code Set.

!!Requirements / Features
This time rule is typically used with [TR_DEDUCT_LUNCH] and [TR_REMOVE_LUNCH]
!!Additional  Info 
•	Frequency predefined as Shift
•	The time rule should be set up in [IDWR] as shown below

!!Implementation
||[Cycle|CYCLE_NUMBER]||[Frequency|FREQUENCY]||[Sequence|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 Shift|1840|No|No|No|No|Maximum # of meal time hours to top up [1]|Allowed|Required [2]|No|Required [3]|Required [4]|Replace

[1] maximum of the meal time in hours (0.5)

[2] meal time code

[3] Target Time Code Set should contain the meal time codes

[4] Set of time codes to be reduced by meal time code (e.g. regular, clock in early, unknown leave) Apply Time Code   should contain something like work time (time codes:  in early, unknown leave)