!!!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
||Band||From||To||Value||Day Of Week||Time Code||Premium||Action||Targeted Time Code Sets||Apply Time Code Sets
|No|No|No|Up To Hours[1]|Supported|Required[2]|No|Replace|Required[3]|Required[4]

[#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)