Requirement: Customer want a generic fast formula for Time and Labor module where logic need to be incorporated with parameters built so that the break time (how long of a break it is considered a different shift) when the employee is scheduled over midnight.
If there is a break is longer a given duration, which should be a definable parameter in the Time Calculation Rule, then the time should be considered as two different shifts.
An example:
An employee in Germany is scheduled to work from 10:00 pm to 6:00 am Monday-Friday.
For Monday his shift time should be Monday 10 PM to Tuesday 6 AM
If the person taken any break longer than given duration (Say for example 2 hours) that should be considered as different shift.
Time type Start time Stop time
Regular 10:00 PM 1 AM
Regular 3.30 AM 6 AM
Here break time is from 1 AM to 3.30 AM . i.e. 2.30 hrs
So, we should consider 3.30 AM to 6 AM as a different shift
Would appreciate if anyone has documents or any idea how to complete this enhancement.