cancel
Showing results for 
Search instead for 
Did you mean: 

How to query available absence quota in payroll run

former_member538867
Participant
0 Kudos

Dear Consultants

My AE client wants to implement Leave Provisioning. I am writing a PCR that would

1) query the current entitlement for a specific absence quota.

2) calculate daily rates by multiplying the monthly gross by 12 & dividing by 365

3) calculate the provisioning amount by multiplying the entitlement in 1 by the daily rates in 2.

4) store this value in wagetype say -- curr

5) in next payroll run move amount of this curr to amount of other wagetype say -- prev

6) calculate the fresh amount of curr as stated above.

7) subtract the amount stored in prev by the fresh amount of curr.

😎 consider this result as the amount to be taken as Leave Provision

Thanks n Regards

Accepted Solutions (0)

Answers (0)