on 11-25-2010 2:29 AM
Helllo colleagues
----you may also put the operation PRINT under any line of the rule to check exactly what the rule is doing. this is the comment which made by Edoardo in another thread Call variable in PCR....
does your comment mean by adding operation PRINT (as a last line in any PCR) in any PCR (standard/custom) we can find out the PCR executions steps? where can we see this? is it in payroll log?? plz. expalin..... i want to identify the behaviour of standard/custom PCR.... which is the best way to understand the behaviour of the PCRs??
Cheers......
Hi,
Look a this example:
*
9999
RTE=KZTACA
MULTI RNA
AMT*KGENAU
AMT/&Z1
AMT/KGENAU
ADDWT *
This is just a PCR I just invented. As you may see I put operation PRINT under any line of the rule. If you run the payroll with the log mode check and you go through your log and go where the PCR is you are going to notice that you are going to see step by step what the PCR is doing. Operation print would be like a debug.
About the variable check what Remi mentioned, and with operation print you can see if the variable is working ok.
Kind Regards,
Edoardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Edoardo & Remi... you guys are excellent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In Payroll Calculation, temporary variables are sometimes used. These are usually created with operation ADDWT&xxxx , called back with operations RTE, NUM or AMT (as in RTE+& xxxx, NUM*& xxxx, AMT=& xxxx), and cancelled with operation ZERO=& xxxx. These operations are used in a PCR.
In your Schema, on a line before and after your PCR, you can use function PRINT with second parameter VAR to make these temporary variables accessible during debugging (through the Payroll Calculation Log/Protocol).
The temporary variable can hold a rate, a number and an amount, but it will never have any "splits".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.