Skip to Content

How to query available absence quota in payroll run

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.

8) consider this result as the amount to be taken as Leave Provision

Thanks n Regards

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers