Skip to Content

Leave request double deduction from single request.

User is allocated 36 sick leave days, already used 2 and has 34 days available. When user requests leave, the system somehow multiples it by 2.


The system throws an "Not enough quota" error message when capturing range 2018/01/08 - 2018/01/31 is 18 days, it sees it as (18x2 = 36 > 34).

The system accepts when capturing maximum range 2018/01/08 - 2018/01/30 is 17 days, it sees it as (17x2 = 34 = 34).

What could be the issue?

Below is the call stack:

Method PROCESS_TYPE_SPEC_SRP is called twice which deducts twice using method count and deduct. It can be seen from above that method PROCESS_TYPE_SPEC_SRP is called via



The first method call to PROCESS_SRP happens when TPOINT = SRP (Individual Record Valuation) and the second one happens when TPOINT = RET (Recalculation).



Where in config can we make it calculate either for SRP or RET and not for both?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 11, 2018 at 07:36 AM

    Did you look for OSS notes suitable for your version/country, use keywords like "leave request" "twice" "quota" (several are available)

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Raymond

      Searched the OSS notes and none were related to the issue at hand. I've found some information here about personnel data migration from PRD to DEV issue.

      Fine, so how can i test "out of quota" validations in DEV, should I hire an employee in DEV or there's is a way to test this?