Accrual Should Stop if Unpaid Leave exceeds 20 days
Summary:
Accrual Should Stop if Unpaid Leave exceeds 20 days
We've have a requirement if employee takes an unpaid leave for more than 20 days in a plan period year then accrual of annual leave should stop for the unpaid leave period exceeding 20 days.
Unpaid Leave Configuration:
UOM is Hours
Employee can avail partial days like 2 hours, 4hours upto 8 hours a day.
No. of unpaid leave days=(absence duration in hours)/8
Annual Leave Configuration:
UOM is Hours
The Accrual Method is incremental with weekly repeating period.
daily_accrual=(160*PER_ASG_FTE_VALUE)/52)/5
Content (required):
I've tried this logic with following 2 logics:
First Approach: