Logic
PARTS.ENG
REQUIREMENTS/OPTIONS
PARTS.ENG allows for the entry of new parts and the modification of engineering data, while all other PARTS fastkeys allow for the modification of existing records only. This program creates an Inventory Master Cost (IMC) record for new entries. The IMC record is maintained through the fastkey PARTS.ACCT .
OPERATIONS
The PROC runs the PRO:ADS PROGRAM PGM120. The Program Specs Header (PSH) and Detail (PSD) records for the entry screen are filed under the PROGRAM ID PARTS.ENG .
The PROGRAM prompts the operator to enter a part number. If the part number exists in the IM file, the record is displayed and the operator is prompted for modifications. If the record is new, the operator is automatically prompted for entry of all fields, and the record will be added to the file.
The following fields in the IM record may be added or modified:
(0) - PART.NBR--- May not be modified after initial entry
(2) - DESC
(6) - UM
(1) - LT.CD
(53) - PCH.LT
(54) - MFG.LT
(19) - LOT.FLAG --- May not be modified on existing parts
(91) - LOC.PROMPT --- May not be modified on existing parts
(57) - DWG.STAT --- Active or Inactive
(12) - CLASS.CODE
(13) - PRODUCT.MODEL
(23) - BUYER
(73) - CONV.UM
(74) - CONV.FACTOR
(77) - TYPE
(9) - DRAWING.NBR - Controls 10 11 8 7
(10) - DRAWING.SHEET - Controlled by 9
(11) - DRAWING.TYPE - Controlled by 9
(8) - DRAWING.SIZE - Controlled by 9
(7) - DRAWING.REV Controlled by 9
(17) - VEN.NBR - Controls 15 16
(15) - MFGR.NAME - Controlled by 17
(16) - MFGR.PART.NBR - Controlled by 17
FILE UPDATES
IM - INVENTORY MASTER
A record is written for additions and modified for changes. If the entry is new, the following field is updated in addition to the fields entered by the operator:
(31) - ADD.DT --- Date part number was added to the file
IMC - INVENTORY MASTER COST
A record is written for additions.
RA - REQUIREMENT ACTIVITY
A record is written for additions or changes.