Documentation >
MAC-PAC Technical Library >
Distribution >
Job Control >
Programs >
Job Control Master Inquiry - Purpose >
Job Control Master Inquiry - Calculations
Job Control Master Inquiry - Calculations
JC800E
A. Housekeeping
1. See Section 2.1 (Common Processing Routines - Housekeeping) of this manual for a general discussion of this subroutine. Processing specific to this program is described below.
2. The following information is retrieved from the Reference file (REFERP):
a. Date format (category 049).
b. System defaults (category 133).
3. The following information is loaded into an array from the Reference file.
· Order Type (category 401)
· Order Status (category 403)
4. If the program was entered via fast path from the Job Master Maintenance program (JC100E), the fast path item field (FPITEM) is moved to the select screen job number field (CZJOB).
5. Function Select screen processing is set up via the next step processing.
B. Function Select
1. All fields are validated. See the Job Control User Manual for validation rules.
2. The following inquiries can be selected:
a. Selected Job: The Job Detail Screen is displayed (JC800S02).
b. Jobs by Project Manager: The Jobs by Project Manager Screen (JC800S04) is displayed with jobs that are associated with the entered project manager code.
c. Jobs by Group: The Jobs by Group Screen (JC800S05) is displayed with jobs that are associated with the entered group number.
d. Jobs by Sales Order: The Jobs by Sales Order Screen (JC800S06) is displayed with the line(s) for the entered sales order.
e. Jobs by Customer Number: The Jobs by Customer Screen (JC800S03) is displayed with jobs that are associated with the entered customer number. This option is not displayed if Order Processing is not installed.
3. Command key entry into the Job Master Maintenance program (JC100E) is supported via F9 (Enter Maintenance). When F9 is pressed, the job number that is currently displayed is passed to the maintenance program.
C. Jobs By Project Manager
1. This screen displays jobs by project manager, one page at a time. Records are retrieved from the logical Jobs by Project Manager file (JC100ML2). Only those records that match the user-specified values are displayed.
2. The next page of jobs can be loaded and displayed by using the Roll key.
3. When the Enter key is pressed, the select screen is redisplayed.
D. Jobs By Group Number Code
1. This screen displays jobs by group number code, one page at a time. Records are retrieved from the logical Jobs by Group file (JC100ML1). Only those records that match the user-specified values are displayed.
2. The next page of jobs can be loaded and displayed by using the Roll key.
3. When the Enter key is pressed, the select screen is redisplayed.
E. Jobs By Sales Order Number
1. This screen displays jobs by sales order, one page at a time. Records are retrieved from the Sales Order Header (OP100M1) and Sales Order Line (OP100M2) files. Only those records that match the user-specified values are displayed.
2. The next page of jobs can be loaded and displayed by using the Roll key.
3. When the Enter key is pressed, the select screen is redisplayed.
F. Jobs By Customer
1. This screen displays jobs by customer number, one page at a time. Records are retrieved from the logical Jobs by Customer file (JC100ML7). Only those records that match the user-specified values are displayed.
2. The next page of jobs can be loaded and displayed by using the Roll key.
3. When the Enter key is pressed, the select screen is redisplayed.