carryforward expiry issue
Summary:
Carryforward Expiry rules not working as expected.
Content (please ensure you mask any confidential information):
We have carryforward limit formula :
if (emp grade = F to J) then, limit : 5 ; else if (emp grade = K to O), then limit : 10 ; if (hire date is >= 1st May of that year, then full carry over)
working fine.
Carry over expiry : 4 months ie 30-APR-2024. So, 1-MAY-2024, carry over expires. Have some challenges in this.
Business requirement :
if employee has got 5 carryforwards from previous year, and expiry date is set to be : 1-MAY-2024, and he has applied for 4 leaves (from jan'24 till 30 apr'24 that is approved and completed).. and he has applied 1 leave, that is also from jan'24 till 30 apr'24 which is under Awaiting Approval -> on May 1st, carry over expiry must be : 0 and not -1. As of now, system is taking it as -1.