Skip to Content
0

"MULTI ANA" returns null in PCR

Feb 07, 2017 at 12:50 PM

74

avatar image

Hi Experts,

I've a pcr that cut from the employee salary. depending on the absence days.

the pcr is



the wageType 9041 is linked with the absence type and it contains number of days.

BUT in pcr he sees it as ZERO.

here is the result table. as you can see that wagetype 9041 have 7 days. but when I try calculate using the pcr I get ZERO.

when I remove the line "MULTI ANA" it works again

pcr.png (7.1 kB)
table-result.png (37.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Rémi Corriveau Feb 07, 2017 at 01:15 PM
0

If you multiply the Amount by the Number and put the result in the Amount (MULTI ANA) and that either of the first 2 values are 0, then the result will also be zero. In the Previous Payroll Results, what is the value of WT 9041 in Table CRT(NUM=C 9041) ?

If you are trying to create the Amount value for WT 9041, it may be easier to generate a Rate when processing WT 9000 and transfer the result in a temporary variable (as in AMT= 9000 AMT+ 9002 AMT/TKSOLL RTE=1 MULTI ARR ZERO= A ADDWT&9RTE), and then to process WT 9041 using that temporary variable to generate the Amount (as in RTE=& 9RTE MULTI RNA ADDWT *)

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi Remi,

Actually for some reason when I deleted WT9041 and created a new WT it worked perfectly.

thanks :)

0