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
In other words, the required equation form is WT3047=WT9501-WT3046
The problem is in the subtraction part, as its not working. When I checked the input table 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
Write PCR as mentioned below.
ADDWT 3047(9000 will be stored in 3047)
ADDWT 9501(9501 will hold the value 10000 in output table).
and check from where 3046 is getting calculated and whether it is there in Input table or not.