13 Replies Latest reply: Jul 10, 2012 10:25 AM by Devesh Paike RSS

Quota generation thru PCR

Devesh Paike
Currently Being Moderated

Hi Team,

I have a requirement to generate absence quota to be generated thru PCR :

 

Quota to be generated during beginning of the year(Jan' every year) for all existing @ of 12 days of Sick leave and 7 days of Casual Leave.  I have written a pcr and it works fine.

 

However I need help to write a pcr to generate quota proportionality as and when a new employee joins any time during the year.

 

Requirement is advance quota to be credited during the first time evaluation for the new joinee i.e Sick Leave 1 day per month for remaining months in the year and 0.5833 day of Casual Leave.

 

Illustration : If a person joins during June'2012 for Leave year 2012, concerned employee should get : SL 7 and CL 4.08 (need to be rounded of to nearest whole no)

 

Regards,

Sandev