Skip to Content

quota accrual on prorata based

Dear team ,

I need to calculate the time quota on prorata based. Right now I am having ZA31 ( see screen shot) rule which generate quota on 1.75 month basis. But now company wants to change this to prorata means if any employee left on 14 th jan than it should calculate (1.75/30) * 14 . To incorporate this I have one other rule ZA20 but that is not working properly. Please let me know what should I need to change so that it will work

ZA20 ( accrual on prorata based )

ZA31 ( monthly accrual)

ZA20.PNG (8.3 kB)
ZA31.PNG (9.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Apr 01, 2016 at 04:58 PM

    It is hard to "debug" a pcr without information on what Function it is called by and what are the conditions required for it being called (is it daily or on a set day of the month?), what the Custom Time Types refer to (such as 9T05 or 9D29), and what the Constants refer to (such as ZSAMX or ZSAAL).

    Add a comment
    10|10000 characters needed characters exceeded

    • Thanks for your reply , Please see the information as follow:

      ZSAMX Annual Leave Maximum Entilemen

      ZSAAL KSA Annual Leave per month

      9T05 Public Holiday

      9D29 Month Days

      9T06 Weekly off

      9T07 Working day

      9T08 Total LOP

      9D31 Annual Leave accrual

      9D31 Annual Leave accrual

      Please let me know if you require any more information

  • Posted on Apr 04, 2016 at 06:44 AM

    We will have to write 2 rules to handle such cases. usually the concern is we will not come to know when an employee gets separated/terminated that we will have to find out and accordingly we will have to generate quota with prorated value. It is possible to generate quota with the help of time types.



    Add a comment
    10|10000 characters needed characters exceeded

    • There are two cases we can consider let assume one employee joins in the middle of the month, and the another employee leave in the middle of the month we can query date of joining and we can generate quota on pro-rata basis, but the other case we do not have operation to query separation date straight away we will have to find out a work around and configuration it can not be handled we will have to handle it with the help of PCR.



Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.