Documentation >
MAC-PAC Technical Library >
Manufacturing >
Inventory Control >
Programs >
ABC Cycle Count Preview Report - Purpose >
ABC Cycle Count Preview Report - Calculations
ABC Cycle Count Preview Report - Calculations
IC640E
A. Housekeeping
1. See Common Processing Routines - Housekeeping in this manual for a general discussion of this subroutine. Processing specific to this program is described below.
B. Mainline
1. The report print subroutine is executed.
a. The first request for the report is found in the IC Report Request file (IC310AP). If a record is found that has been submitted, the record is processed, and the appropriate sort sequence indicator is turned on.
b. The warehouse input/output subroutine is executed. This subroutine formats the warehouse name on the report and retrieves the default cycle count intervals and cycle count capacity.
c. The CL program IC645CLP is called to open the query file.
d. The Warehouse Balance file is initialized and read and the header section of the report is printed.
e. The priority for each warehouse balance record is determined. There are six possible priorities: manual select, control group, overdue, now due, negative balance, and zero balance.
2. If there are no report requests, an error message is sent and the program ends.