Leave Quota Reduction --- Complicatred Scenerio
Leave Quota is credited on a quarterly basis.
On Jan 1st, 5 leaves are credited to the leave quota.
employee uses the 5 leaves between jan1st to Jan 9th.
On Jan 10th the employee goes onsite for a long term assignment for 6 months. During this period he will be eligible for onsite leaves.
for 1st to 10th of Jan, the employee was supposed to get
(10*5)/90 ~ 0.5.
the additional 3.5 days of leave taken should be debited from the leave quota.
If thers no sufficient balance in the quota, LOP's should be created in place of EL's.
Please let me know how we can handle this...