Skip to Content
0

How to query available absence quota in payroll run

Jan 02 at 02:17 PM

15

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers