DetermineCOByProducts

F3404 Compare CO/By Product

Major Business Rule

Object Name: B3401020

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
      Compare ITM of F3404 with that of F3002 for given KIT and MMCU. If  F3404 ITM exists than 
return "1" else return "0" and DELETE  ITM  record in F3404


1.2Setup Notes and Prerequisites



1.3Special Logic



2.Technical Specifications

      KIT = User Input on Form P3404 
      MMCU = User Input on Form P3404
      If COBY = "b"or  "c" exists  for KIT + MMCU then

        Begin     

           a.  Read Record with ( KIT + MMCU + COBY = "b", "c", " ") from F3002

                  If  F3404 ITM exists

                       Then   Return EV05 = 1

                  Else
                       DELETE ITM Record from F3404


^

Data Structure

D3401020 - F3404 Compare CO/By Products

Parameter NameData ItemData TypeReq/OptI/O/Both
mnParentItemNumberKITMATH_NUMERICNONENONE

The system provides for three separate item numbers.    1.   Item Number (short) - An eight-digit, computer assigned, completely 
non-significant item number.    2.   2nd Item Number - The 25-digit, free form, user defined alphanumeric item number.    3.   3rd Item Number - Another 
25-digit, free form, user defined alphanumeric item number.

szBranchNumberMMCUcharNONENONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

cCoProductsByProductsCOBYcharNONENONE

A code that distinguishes standard components or ingredients from co-products,by-products, and intermediates. Co-products are 
(concurrent) end items as the result of a process. By-products are items that can be produced at any step of a process, but were not planned. 
Intermediate products are items defined as a result of a step but are automatically consumed in the following step. Generally, intermediates are 
nonstock items and are only defined steps with a pay-point for reporting purposes. Standard components (Discrete Manufacturing) or ingredients 
(Process Manufacturing) are consumed during the production process. Valid values are:    C Co-products    B By-products    I Intermediate 
products    Blank Standard components or ingredients

cRecordExistFlagEV05charNONENONE

A flag that indicates whether automatic spell check is turned on.

mnItemNumberITMMATH_NUMERICNONENONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

Related Functions

None

Related Tables

F3002 Bill of Material Master File
F3404 Co-Products Planning/Costing Table