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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • 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 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

  • avatar image
    Former Member
    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.





    Regards

    Venkatesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member L Chandra Sekhar Rao Siliveru

      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.

      Regards

      Venkatesh