Previous Topic

Next Topic

Book Contents

Book Index

General Description

The following rules illustrate solutions to the following common requirement: to determine that report totals are reasonable and consistent both internally and externally (such as, with information in other reports). A sample inventory report, part of which is shown below, is used to demonstrate how this requirement is satisfied.

Figure 385 Sample Inventory Report (1)

                             INVENTORY REPORT

                             ================

WAREHOUSE NO: 1001      DEPARTMENT:  100  –  FINAL ASSEMBLY SHOP

              ====                   ===========================

                           SHELF  QNTY QNTY   QNTY   QNTY IN   TOTAL    PART

ITEM NO.    DESCRIPTION    LIFE   UNIT AVAIL  ORDER  PROCESS   QNTY     CLASS

=========== ============== ===== ==== ====== =====  =======   =======  ===========

1233-781-21  RIVET D. 0.1 ACR  NONE   KG    100.00  250.00            350.00  FLOOR STOCK

1233-781-25  RIVET D. 0.5 ACR  NONE   KG    500.00  500.00           1000.00  FLOOR STOCK

1233-781-27  RIVET D. 0.7 ACR  NONE   KG    100.00  100.00            200.00  FLOOR STOCK

2201-800-01  METAL O RING 0.1  NONE   EA     34.00                     34.00  FLOOR STOCK

2201-800-22  METAL O RING 2.2  NONE   EA     20.00   30.00             50.00  FLOOR STOCK

2201-800-27  METAL O RING 2.7  NONE   EA     35.00                     35.00  FLOOR STOCK

2274-711-21  WASHER D. 0.1     NONE   KG     10.50   10.50             21.00  FLOOR STOCK

2274-711-25  WASHER D. 0.5     NONE   KG    450.00  400.00            850.00  FLOOR STOCK

2274-711-27  WASHER D. 0.7     NONE   KG    100.00                    100.00  FLOOR STOCK

2274-811-21  BOLT 1/8          NONE   KG     50.00   25.00             75.00  FLOOR STOCK

=================================================================================

TOTALS:                                    2114.50 1475.50           3590.00

The rules extract one or more totals from a report and verify that the extracted quantities are reasonable. They demonstrate how to take various actions if everything is OK and how to take other actions (for example, print error messages to a user report, use the Shout facility to send messages to a TSO user ID, and terminate a job with a status of NOTOK) if something is wrong.

Rule 1A extracts one total from a report and verifies that it is reasonable, which in this simple example means over 1,000. Rule 1B extracts several totals and verifies that they are mutually consistent. The logic of each rule is explained in more detail in Rule 1A Logic and Rule 1B Logic below.

Parent Topic

Solveware Rule Documentation