# Salary not getting Pro-rated

The employee XXX is hired on 03/09/2018 & got confirmed on 03/09/2019. The salary components in IT0008 & IT0014 are changed. When we apply LWP for one day in the month say 21.09.2019. Time evaluation & Payroll process is executed. The salary is not getting pro-rated based on confirmation date, it just adds the 2 amount & reduces one day salary which is nearly double the salary. How to rectify the issue. But in normal cases without any action it is working fine,

10|10000 characters needed characters exceeded

### Related questions

Posted on Oct 16, 2019 at 11:23 AM

Yes, that is what I expected PCR YPPF is used based on PPPAR where the logic of WPBP split might be missing, please click on the processing of that you will get an idea how the PCR is being processing during the split in IT0008 and why the proration is not happening.

it will be looped to other PCR where Proratio is missing during Splits in IT0008

10|10000 characters needed characters exceeded
• Posted on Oct 16, 2019 at 06:01 AM

when you confirm the employee on 21.09.2019 it means there will be WPBP splits and the amount of LWP will get deducted within the Split period.

Please share the output of WPBP output table from the log of the schema and overview screen shot of IT0008

10|10000 characters needed characters exceeded
• Posted on Oct 16, 2019 at 06:31 AM

Hi Sikindar,

Confirmation date is 27/09/2019 & LWP applied date is 21.09.2019. If we remove LWP, pro-ration is working fine.

it0008.png

wpbp.png

it0008.png (17.0 kB)
wpbp.png (7.7 kB)
10|10000 characters needed characters exceeded
• Posted on Oct 16, 2019 at 06:51 AM

Hi

for the first split in the output of XVAL the value should be as below

1st Split 9640/30*26 = 8354.66

2nd Split =10000/30*4 = 1333.33

with LWP it should be 1333.33 - 333.33 = 1000.33 will be the pay in the second split as he has taken leave on 29.09.2019.

Total payment without LWP = 9688.

Total payment with LWP = 9354.33

I would like to know the output value of WPBP IT0008, What amount are you getting in the final RT

10|10000 characters needed characters exceeded
• Posted on Oct 16, 2019 at 07:19 AM

Hi

Total Payment without LWP is 9640 + 10000 = 19640

LWP is 9640/26 = 370.77

Total Payment with LWP is 9269.23 + 10000 = 19269.23

rt-value.png

rt-value.png (1.7 kB)
10|10000 characters needed characters exceeded
• Posted on Oct 16, 2019 at 07:28 AM

Hi

The actual value without LWP should be 9736.93

LWP = 370.77

The actual value with LWP is 9366.16

10|10000 characters needed characters exceeded
• Posted on Oct 16, 2019 at 08:04 AM

I feel the system is not prorating what is the value of PRCL 10 for basic salary wage type , we need to maintain PRCL 10 as 1.

Please do let me know what logic you did to get the result 9366

10|10000 characters needed characters exceeded
• Posted on Oct 16, 2019 at 08:26 AM

Hi

The issue is not relating to pro-ration. If we execute any action for the employee & apply LWP. In this case alone pro-ration was not done. All other cases, pro-ration is working fine.

In the above case itself, if we remove / lock LWP leave Pro-ration is working fine.

In the above case, if no action was done & only LWP leave is applied, the system is working fine.

10|10000 characters needed characters exceeded
• Posted on Oct 16, 2019 at 09:56 AM

Ok can you check INP1 or custom PCR if any written in the schema for the following employee share the log of the PCR