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

Re: Error: Division by zero not performed - Payroll Run

$
0
0

As Sankarshan said,

Run payroll with log

Check/post for the split of w/t /001 (where the payroll is failing), the values of TADIVI & TAXX** from the last of the functions GENPS, PARTT, P2003 in sub-schema XT00.

If both of these are zero value then this is problem.

The values may be zero in a split when the person is inactive.

 

Further, there is a loop begin just before from sub-schema XTBL and loop end just after sub-schema XDNT.  This loop gets repeated, if the IF  xxxx  DDNT finds there is an entry in DDNTK table; else the loop is set to end by the function PREND.

Hence all the variables used within these functions or PCRs need to be cleared or set to zero ((by ZERO=&xxxx where xxxx is the variable name), before they are added to.  Otherwise the variable/s keep increasing in value and the calculations will be wrong.

 

Ensure this clearing by ZERO=&VAR9 for variable VAR9 and check any other use of variables in your whole schema PCRs between the above functions/PCRs.    


Viewing all articles
Browse latest Browse all 3576

Trending Articles



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