HI All,
My requirement is for Gratuity Eligibility for 240 worked days for every year of service. (It is given after 5 years but this is an addition check).
I wrote a PCR which is doing for first year of service. How to do it for every year of service.
eg. DoJ. 15.10.2011, then on 15.10.2012, if he has completed 240 worked days only then he will get Gratuity for that year.

9963 is time type where i store worked days. 9994 is time type to add to counter for eligibilty for Gratuity.
Please guide me to do it every year of service.
Regards,
Saureb