Skip to Content
author's profile photo Former Member
Former Member

KSA End of Service

Dear Gurus;

I'm writing the PCR Logic for KSA End of Service.

Currently I did 2 PCRs, 1 for gathering the required wage types and the other for the calculation.

The first one worked fine and the wage types have been gathered in one wage type. But the one for the calculation is not processed and I believe that I'm doing something wrong in the logic, so if you don't mind would you plz consult me how to wrtite its logic.

I've stored the number of working days in Wage type 7010

As you know the calculation is

* In case of Resignation

Compare the number of yrs of service by 2 yrs "after subtracting the number of Unpaid Absence during this period"

* Smaller than or Equal 2 yrs

addwt *

> Bigger

NUM?5yrs (1825) after subtracting the number of Unpaid Absence during this period

* Smaller than or Equal

AMT of Net Salary * 0.5 (half)

AMT*0.33 (1/3)

AMT* number of yrs of experience

> Bigger

NUM?10 yrs (3650)

* Smaller than or Equal

for the first five yrs

AMT*0.5

AMT* Number of yrs

Then for the rest AMT of the net payment * Number of yrs experience

KSA4.png (31.8 kB)
KSA2.png (49.3 kB)
KSA.png (106.4 kB)
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Nov 19, 2012 at 10:18 AM

    Check the MULTI Function properly

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 19, 2012 at 01:20 PM

    from where ur PCR is not processing

    Add a comment
    10|10000 characters needed characters exceeded

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.