I am new to PCRs,
I am want to to subtract values in one wage type with other. what operation i should use?
How can i do this?
Please help me.
Chaitanya Patel replied
Wagetypes in PCR have 3 place holders for value RATE, NUMBER, AND AMOUNT, used in PCRs as RTE, NUM, and AMT.
Assume you have wagetype XXXX and YYYY. If you want to deduct the amount held in XXXX by the amount held in YYYY, then write a PCR for wage type XXXX and add the following:
where XXXX is the wage type and the line ADDWT * will add the values back into the IT table (Assuming you are dealing with the IT table, otherwise ADDWTE* will add it to the RT table).
Here is a link that helped me alot when i was started writing PCRs.