EDIT RUN
Periodically, the sales order system is executed. Depending on transaction volume and the need for current information, this could be a single end-of-day task or performed several times per day. The system is com- posed of a series of program runs. The edit program first validates all transaction records in the batch by performing clerical and logical tests on the data. Typical tests include field checks, limit tests, range tests, and price-times-quantity extensions.3 Recall from Chapter 2 that detected errors are removed from the batch and copied to a separate error file (not shown in Figure 4-16), which are later corrected and resubmitted for processing with the next day’s business. The edit program recalculates the batch control totals to reflect any changes due to the removal of error records. The edited sales order file is then passed to the file update run.