Documentation >
MAC-PAC Technical Library >
Distribution >
Order Processing >
Programs >
Price List Mass Maintenance - Purpose
Price List Mass Maintenance - Purpose
OP235E
The Price List Mass Maintenance program (OP235E) performs mass updates to the Price List Line (OP230M2) and Price List Detail (OP230M3) files. The program also generates the Price List Mass Maintenance report (OP235A), summarizing the changes to the price list records.
To maintain price history, the program will not directly update the existing price list records meeting the selection criteria. These records will be marked for deletion and new records will be created to replace them. The new records will contain the same information except for the new start dates and the new prices.
The updates can be performed in batch or immediate. The update request is submitted from the Mass Maintenance screen (OP230S05) of the Price List Maintenance program (OP230E). A submit flag in the screen determines if the request is in batch or immediate. If the request is in batch, a record will be written in the request file (OP310KP). The request can be released via the release pending request program. Once released, OP235E sequentially reads the file and performs the necessary updates. If the request is immediate, a batch job immediately call OP235E passing as parameters the relevant information in the request screen. The information in these parameters are similar to the fields in the request file (OP310KP). This batch job may be released by typing the work submitted job command and changing the status of the job to release.