Skip to Content
0

Ptax wage type /3p1 amount is not getting transferred to new wage type in PCR

Nov 24, 2016 at 11:01 AM

32

avatar image

Dear Expert,

I am currently working on payroll pcr to process professional tax for tamilnadu on half yearly basis. When in try to transfer amount from technical wage type /3p1 to new custom wage type and the amount transfer to new wage type is not working. Please find attached PCR for your reference.

capture-error-pcr.jpg

.Your help will be really appreciated. Thanks for help!

Br, Naresh K

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Venkatesh Yadav Dec 02, 2016 at 06:27 AM
1

Hi remove "I" ADDWT and then check.

Regards

Venkatesh

Share
10 |10000 characters needed characters left characters exceeded
Rémi Corriveau Dec 02, 2016 at 06:05 PM
0

In the highlighted portion of your pcr, Operation AMT=ZERO is followed by AMT= /3P1 and then by AMT=L 1531.

Since AMT= will set the value of the Amount field of the WT being processed, the first two (AMT=ZERO, AMT= /3P1) are not required since the third one will set the value and replace whatever was there previously. Just to prove my point, create a temporary variable between each step and look at their values (through the Payroll Log), as in :AMT=ZERO ADDWT&VAR1 AMT= /3P1 ADDWT&VAR2 AMT=L 1531 ADDWT&VAR3. Note that you may require to add Function PRINT with Par2 = VAR

print-var.png

If you want to replace the Amount of the WT being processed by the sum of the value of WT /3P1 plus the value of WT 1531 from the Last Payroll, then you would require the following Operation sequence: AMT= /3P1 AMT+L 1531


print-var.png (10.6 kB)
Share
10 |10000 characters needed characters left characters exceeded