Hi.. this is the typical scenario every client has it., so no surprises in that.
IT0041 is key to lot many things., (Leave accrual), providing letters (Separation, re leaving, experience letter etc)
Please see if you could crack this through dynamic action - and it can be done with dynamic action.
Warm Regards!
-Kanuku