Differentiate PL entitlement based on the joining date
Hi Friend,
Recently encounter with issue related to the PL generation based on the joining date. you can check the below thread Differentiate PL entitlement on the basis of Date of Joining on which i have prepared the process design and solution.
I am explaining step by step process design for this isuue.
Step 1. 1st we have to differentiate who has joined before 01.04.2012 and after 01.04.2012. For this i have created two date type one is hiring date (PH) and another is Cap date type(PI) which is storing 01.04.2012 date in the Infotype 41. Also i have taken two time type one for joining date comparison value store(9MAR) and another is quota generation (9SEP). Both time type would be period balance.
Step 2. Using period balance concept in base entitlement and quota accrual is monthly in generation rule. Monthly quota accrual value suppose 10 and it’s passing to time type through below PCR.
Step 3. Compare the hiring date with Cap date through PCR and insert this PCR in the time schema before CUMBT function. in this pcr i am checking the date comparison as well as passing month quota value to time type.
In this PCR we will get the below Update if employee joins before 01.04.2012 then time type 9MAR will generate with 1 value but if employee joins after 01.04.2012 then time type 9MAR will generate with value 2. In this pcr i am also passing monthly constant quota value 10 time type 9SEP for quota type 90 updation.
Step 4. For this scenario i am taking that quota should not be reached if employee joins before 01.04.2012 then his PL quota of 90 should not be 300 (would be two constant one would be for 300(ZCAPV) and another would be for 60(ZCAPP) in T511k table).
Below is the PCR which will cross check the QUOTA functions update value on absence quota type 90 and cross checking with the capping value based on the 9MAR time type value.
Step 5. PCR placing in schema.
Hope so you all understood the process design and solution on the issue. If do you have any query feel free to comment and give suggestion to make the document better.
Regards,
Sankarsan
Wonderful 😎
Thank you!!!
Thanks a lot for the document. It's very helpful.
Thank you Sankarsan. This doc is exactly working as per the mentioned requirement. Only my requirement was not 01.04.2012, rather 2014.
Thanks a lot for sharing this document.
Regards,
Bhagyashree
Hi Bhagyashree,
It's an overview and for that i had taken 01.04.2014. If your case if date is 01.04.2014 then you will maintain in the date type your concern date.
It will work.
Regards,
Sankarsan
Hi Sankarshan,
Is there any way out if we are not using Time Evaluation or using -ve Time management?
Regards,
Niladri
Hi Niladri,
You can achieve it through -ve TM as well with the using schema TM04.
Regards,
Sankarsan
why are you differentiating joined before and after date could you please explain. My scenario is similar If employee joined on date of hiring his or her leaves should be generated on date of joinining
My question how we gonna process for next year?
Hi Priya,
Kindly click on the issue link which is mentioned in the document and will get an idea.
Please give me details requirement of yours then would be good for me.
Regards,
Sankarsan
We have a requirement we need to give 10 sick leaves on same date that is date of joining when an employee joins on 15.01.2015 we have to give 10 leaves on same date but deduction will.happen next month
Or
We have to give 10 leaves next month after date of joining
We can try any one of above two process how would i go ahead?