Documentation >
MAC-PAC Technical Library >
Manufacturing >
Inventory Control >
Programs >
Order Release Simulation Inquiry - Purpose >
Order Release Simulation Inquiry - Calculations
Order Release Simulation Inquiry - Calculations
IC800E
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.
2. The company name (COMNAM) is retrieved from the System Control file (CT100M).
3. The Date Format (category 049) and Quantity Field Sizes (category 446) records are retrieved from the Reference file (REFERP). Part Type codes and descriptions (category 405) are also retrieved. The Part Type codes and descriptions are then loaded into arrays for processing. Reference File category 409 is read to determine which plants the user is authorized to. Reference File category 428 is read for the default plant. The Production Type Codes and descriptions (category C01) are also retrieved and loaded into arrays for processing.
B. Function Select Screen
The Order Release Simulation Function Select screen (IC800S01) is used to accept input of a Plant, a Part Number, simulated Production Quantity, and the Order Yield flag. An effectivity date, which defaults to today's date, may also be entered. The data is validated when the ENTER key is pressed. If the Function Select screen is valid, the Detail screen is displayed next.
C. Detail Screen
The Order Release Simulation Detail screen (IC800S02) displays descriptive information of the requested part. The next lower level of parts in the requested part's bill of material (BOM) is displayed with descriptive and availability information.
The Product Structure file (DE120M) is used to identify component parts of the part being inquired into. The effectivity dates are compared to the effectivity of the proposed order release. Only effective parts are displayed in the detail subfiles. The Part Master file (DE100M) is accessed to retrieve descriptive information about the lower-level part. The Warehouse Balance Record (IC140M) is accessed to retrieve inventory balance information. If the record is not present in the file, zeroes are moved to the display fields for that part. Otherwise, on-hand, allocated, and on-order balances are retrieved. The allocated quantity for a component part only reflects the dependent demand for an MRP production type parent part, allocated quantity includes allocated quantity for Synchro, for F.R.'s, and for 70s, TOs, SOs.
1. An Available Quantity (On-Hand minus Allocated) is calculated for display. A component requirement quantity is also calculated using the required quantity entered on the select, the component quantity per parent retrieved from the Product Structure file (DE120M), and the parent part yield factor. The component requirement quantity is calculated as follows:
Component Requirement Quantity
|
=
|
Requirement Quantity from the Select screen
|
multiplied by
|
Component Quantity Per from the BOM
|
Adjusted Component Requirement Quantity with Yield Factor
|
=
|
Component Requirement Quantity
(1 - (Parent Yield Factor/100))
|
If this quantity is larger than the size of the display field, a literal is highlighted and displayed to indicate the overflow. The related part may not be inquired into further.
2. Any other parts may be selected for inquiry into their lower-level parts. The user enters an X in the input capable field next to the desired line part. If effective lower-level parts exist, they are displayed in the subfile and the descriptive information for the selected part is displayed on the header. If no effective parts exist, or if the part is not manufactured, build-thru, or transfer the field is highlighted and an error message is displayed. Pressing the ENTER key without selecting a part causes the Function Select screen to be displayed.
3. F5 returns the user to the original bill of material level. F6 returns the user to the previous bill of material level. If F6 is pressed and the user is already at the highest level, an error message is displayed. Placing an X in the input capable field next to the desired line item and pressing F12 transfers control to Component Availability Inquiry program (IC810E). If the parent part is manufacturing, pressing F9 without entering X transfers control to the Manufacturing Order Maintenance program (IC100E). If the parent part is Just-in-Time, pressing F9 without entering X transfers control to the Production Schedule Maintenance program (JT100E).