Overtime & Time-off.
Employee may work overtime. Overtime is compensated with equivalent hours of time off, which can be taken during any working hours. There is no monetary compensation. May I know how best I can achieve this requirement ?
I am thinking to use IT2002 (Attendances) to record the details of the overtime performed (eg time, hours etc). Then, configure an absence type, "Overtime Leave" in IT2001 to allow employee to take the time-off. But then, how do I ensure employee does not overtake the overtime earned as recorded in IT2002 ? One way is to write the validation in the user exit.
Is this the best way ? Any inputs or advice is much appreciated. Thank you.