MAC-PAC Homecontact ussupport login 
Documentation > MAC-PAC Technical Library > Manufacturing > Shop Floor Control > Programs > Labor Requirements Reschedule - Batch - Purpose > Labor Requirements Reschedule - Batch - Calculations

Labor Requirements Reschedule - Batch - Calculations

SF110E

A.   Housekeeping

1.   All work fields are defined, and program constants are initialized.

2.   The company name record (COMNAM) is obtained from the System Control file (CT100M) for output on the System Error report (CT010X).  If this record is not available, a message is sent to the system operator and processing continues.

3.   The date format (category 049) is retrieved from the Reference file (REFERP).  If this record is not available, the Date Format defaults to MMDDYY, a message is sent to the system operator, and processing continues.

4.   The Manufacturing Order ASYNC Transaction file (IC100AP1) is checked for any outstanding transactions.  If any maintenance is pending, rescheduling will not occur.  A message will be printed on the exception report.

B.   Mainline

1.   The Labor Requirements Batch Reschedule file (SF320AP) is read to determine the request for each plant.

2.   Processing depends on rescheduling options specified for the plant.  Mainline is only executed if the Request for Reschedule Option has been taken (CZLRPD = X).

3.   If the Full Reschedule Option (CZRTYP) has been set to Y, the logical Manufacturing Order file (IC100ML9) is read sequentially, all open or firmed manufacturing orders for the plant are rescheduled.

4.   If the Full Reschedule Option has been set to N, the Workcenter file (ME100ML5) is read sequentially to select all workcenters of the plant that were flagged as changed.  All open or firmed manufacturing orders associated with the workcenter are flagged for reschedule (the order reschedule flag (HSRSHF) is set to 2).

5.   When all the manufacturing orders for a workcenter have been processed, the workcenter reschedule flag (WCRLRF) is set to N.

6.   After all plant/workcenters have been processed, the Manufacturing Order file is read sequentially, and labor requirements are rescheduled:

a.   If their associated manufacturing order has been flagged for reschedule.

b.   If their associated manufacturing order has had scrap reported at a rate in excess of the specified Scrap Percent Filter (CZSCFL) (provided that scrap is not greater than or equal to the order quantity), and the order is open or firmed.

7.   After rescheduling, labor requirement details for master records are updated with the dates from the first and last active labor requirement records that are associated with them.

8.   After a successful reschedule, the batch reschedule pending flag, the Full Reschedule Option, the Scrap Percent Filter, the Print Exception Report option, and the Output Queue for the plant are set to blanks on the L/R Batch Reschedule Request file.

*     For scheduling logic and the required calculations, refer to the Shop Floor Control User Manual:  Labor Requirements Generation and Order Scheduling key concept.