The following section describes the steps performed by the StreamV System when new inventory items are created from the Catalog Manager program.
The new record default information that has been specified for new Catalog records is loaded into the Catalog Master Program. The default information that is loaded into the new Catalog record can be modified as required (based on the security that has been implemented in the Catalog Master program). Once the default information has been accepted or changed, the operator can load any other required fields for the new Catalog record and save the record.
1. As the new Catalog record is saved, the system uses a System Control Record F240: SCR: INVENTRY: ACR to determine which inventory locations the new Catalog Item should be created in automatically. The System Control record contains the warehouse locations in which Inventory Items should be created when a new Catalog record is saved.
2. As the system creates the Inventory records for the new Catalog record, the data from all fields named the same in the Inventory and Catalog records are copied to the newly created Inventory record.
3. Once the catalog information has been copied to each inventory record, the system loads the default inventory information that has been specified for new inventory items into the new inventory record. If a default value has been specified for a field in the inventory record, this value will overwrite the information for the field that was copied from the Catalog record. This step allows fields that are maintained in the Inventory Master or that do not exist in the Catalog file to be loaded with default values as new inventory items are created.
4. The system then performs a final check on critical fields in the inventory record. The system moves a 0 into all of the inventory quantity fields (this includes the on hand, reserved, total reserved, on order, and allocated quantity fields for the item). A 0 is also moved into the Unitcost field of the inventory records. The system then checks to make sure the STK (track quantity flag), and the Reorder Quantity fields are loaded. If the STK flag is not loaded the system will move a Y into the flag. If the Reorder Quantity field is set to 0, the system will move a 1 into the field.