After I found below thread Interesting and started to work on scenario The same I was trying to implement for my client but it is not working according to scenario There should be deduction of one day of basic pay for employees in case of any natural calamities After doing till 7th step this is what i found below screens. The Basic Pay maintained was 7500 but it is adding 7500 +7500+250+200
One Day Salary Deduction-Indian payroll (With Restriction for the Retro)
7500 is Basic Pay
7500 is retro as there is change in basic pay
250 that is basic pay divided by 30 days which is correct
200 is professional It exceeding more than 10,000 Net pay so there is professional tax All figures are coming correct but All components are adding to net pay below is the screenshot According to scenario it should deduct only 250 from 7500 that is 7250. The net pay should show as 7250 Instead of 7250 it is showing 14,550 (7500 +7500+250+200)
Below is the rule I have written according to post
Placed in schema
Executed Payslip The wrong values are stored
Following 8th step to stop retro There is syntax error
So removed 9GRS Just kept AMT=0 to avoid error
Placed schema
Since it is retro so i added in INNR Schema
Executed payslip Still there is no change