Previous Topic

Next Topic

Book Contents

Book Index

Conclusion

You have now completed Problem 2 by examining the definition of the second rule. In the IOA SAMPLE library there is a member named RUNRULE2 that runs the rule you just examined. You may submit this job and review the output.

Figure 68 Output from Job RUNRULE2

******** PAYROLL CONTROL TOTALS ********

SALESPERSON #1

YTD COMM. PAID                    0.00

CURRENT AMOUNT                 5115.00

----------------------------------------

CALCULATED TOTAL               5115.000

REPORTED TOTAL                -5115.00

----------------------------------------

DIFFERENCE   ***** 10230.00 *****

***** SERIOUS PAYROLL ERROR - SEE ABOVE

*****

SALESPERSON #2

YTD COMM. PAID                 1883.13

CURRENT AMOUNT                11632.03

----------------------------------------

CALCULATED TOTAL              13515.160

REPORTED TOTAL                13515.16

----------------------------------------

DIFFERENCE   ***** 0.0000 *****

COMMISSIONS OK

SALESPERSON #3

YTD COMM. PAID                    0.00

CURRENT AMOUNT                39995.16

----------------------------------------

CALCULATED TOTAL              39995.160

REPORTED TOTAL                39995.16

----------------------------------------

DIFFERENCE   ***** 0.0000 *****

COMMISSIONS OK

Looking at the results for Salesperson #1, you can see that the balancing rule has caught a significant error. This individual earned negative commissions. Perhaps this is a new salesperson who has had no sales, but only returns. For whatever reason, this salesperson's commissions were -$5,115. The amount specified to the payroll department should probably have been 0. Instead, the amount specified was $5,115! Fortunately, you caught this mistake in time.

Parent Topic

Problem 2: Check Payroll Totals