Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Dec 02, 2016 at 06:27 AM

    Hi remove "I" ADDWT and then check.

    Regards

    Venkatesh

    Add comment
    10|10000 characters needed characters exceeded

  • Dec 02, 2016 at 06:05 PM

    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

    Add comment
    10|10000 characters needed characters exceeded