I am facing a problem regarding the syntax of a customized payroll PCR.
The PCR is designed to deduct 2 wage types, and add the result on a third wage type. The syntax written was as the following:
9501 Gain Work Tax
ADDWT * OT Output table
AMT- 3046 Subtraction
SUBWT 3047 OT Output table
The problem is in the subtraction part, as its not working. When I checked the IT for the rule in the payroll log, I found only wage type 9501 ,while 3046 is not available, although it is calculated in another previous PCR.
I appreciate your feedback.
Thanks in advance.
Are you saying that WT3046 is generated in the previous sub schema?
Then tell me what's the pcr you have written for WT3046 generation.
Are you used ADDWTE3046 in the pcr? If then change it to ADDWT 3046. or if you don't want it into Input table and pass the WT3046 value to variable wage type &3046 like the operation ADDWT&3046.
And in the current which we are working change the AMT- 3046 to AMT-& 3046.
Check and tell me.