Skip to Content
avatar image
Former Member

Payroll PCR : Remove number from wage type after calculating amount

I am really new to payroll schema and trying to achieve a small functionality

I have a  wage type that have amount calculated from rate and number. After the amount is calculated, I want to remove the number so that RT will have only amount and rate and not the number.

This was the earlier PCR content

MULTI NRA

ADDNAE*

I tried changing it to as below to zero the number but its removing the amount along with the number

MULTI NRA

ZERO = N

ADDWTE

Please help with this

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jan 12, 2015 at 06:06 PM

    First, please mention what Function you are using to call your PCR since you are writing directly into the Results Table (using ADDNAE or ADDWTE).

    You have not mentioned what data is being processed, but I would suggest that you try

    MULTI NRA

    ZERO= N

    ADDWTE*

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2015 at 04:39 AM

    PCR syntax is wrong just write like below

    MULTI NRA

    ZERO= N  (No space after ZERO= N)

    ADDWTE*

    Regards

    Venkatesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 08, 2015 at 10:49 AM

    If your query is answered you can close thread as well.

    Regards

    Venkatesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I typed in wrongly in post without space. There is no syntax errors when I run simulation but as I mentioned earlier, amount and number is becoming zero when I does this.