Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 11577

Re: PCR for computing net taxable pay

$
0
0

You seem to have a PCR called 1PAY and a WT with code 1PAY.  Recommended procedure is to call Custom PCRs with Z as their first character, but it should work if you don't confuse them.

 

I will assume that you are calling your PCR through Function PIT, but with what parameters?

 

It would also be nice to see the values of WTs /101, /110 and 1PAY in the Input Table before PCR 1NTX.  I will presume that /101 has no rate nor number, but only amount, and the same for /110.

In such case, temporary variables & 1PAY and & 2PAY will therefore follow the same pattern.

In PCR 1NTX, You use operation NUM=& 1PAY, but temporary variable & 1PAY should not have any number since it is copied from WT /101.

 

To use the amount of /101 as a number, you first have to transfer it to that position,  Try modifying PCR 1PAY to have the following operation sequence :

  ADDWT *

  NUM=1

  MULTI NAN

  ADDWT &1PAY

 

Your temporaty variable & 1PAY should now have no rate but the same value under NUM and AMT.

 

Also add operation PRINT with Par2 = VAR in your schema, immediately after PCR 2PAY.  In Payroll Simulation (with the "Display Log" box checked, you'll be able to see what your temporary variables have for RTE, NUM and AMT values.


Viewing all articles
Browse latest Browse all 11577

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>