Absence Quota Generation Monthwise Constant with Mid Month Joinees Pro Rata.
Recently i have been gone through the below scenario in the scn and by which i have deen designed the solution.
Earned leave, on monthly basis it has to be added from April-March through time evaluation but the entitlement should be rounded off since it is 2.17 leaves 26/12=2.17 & it should be distributed in the 6th & 12th months for regular employees which means during the September & March the Earned leaves should be 3 & rest all months it should be 2 only which is 26 per year . For mid joiners, the earned leaves should be rounded off to 2 if the employee joins before 15th & 1 if the employee joins after 15th of the month(Rest all months it should be same).
For above the scenario kindly find the approach and solution of my reply on that thread link Privilege Leave Adjustment
1. Employee joins on tha August 19th 2014.
So in the August month he should get 1 quota since it’s less that half of 2.17 month accrual.
Same employee will get quota value 3 in the month of september. So i am assuming that he has not used his quota from august so on the september end he will be having total (1+3)=4 quota value.
2. Now in the second scenario thesting that employee joins on 8th September 2014.
So on the September he should get 2 quota value because it lies in between 1.085 to 2.17.
again i am assuming that employee has not yet the quota for the month september.so after october he will have (2+2)= 4 quotas in his account.
In the following we can achieve the above business requirement. Hope so you all are understood the requirment details, process design, testing scenarion cases. Any inputs are highly thankful to me for document ugradation and as well as come with new solution ideas.