1.Functional Description
1.1Purpose
Add, Delete, or Revise Substitiute Parts associated with the component in the Bill of Material
Record. Mode 1= Add/Copy, 2=Revise, 3=Delete. If Mode is equal to '1', substitute components will be copied
from the Bill of Material that is being duplicated. If Mode is equal to '2', the substitiute
components will be revised. If Mode is equal to '3', delete all Component Substitutes.
If Mode is equal to '1', the F3002Pointer contains the pointer to the Bill of Material component from
which the Component Substitutes will be copied. The ParentBranch, ParentItem(short), Type of Bill,
BatchQuantity(File), and Line No are the key values of the Bill of Material Component to which the
substitute components are being copied. The Sequence No, ParentItem2nd, and ParentItem3rd are additional
information required for the copy.
If Mode is equal to '2', the F3002Pointer contains the pointer to the Bill of Material component that
has been revised. The Line No and Sequence No contain the revised values that will cause the
component substitutes to also be revised. If the Line No or Sequence No has been changed, the component
substitutes will be revised.
If Mode is equal to '3', the F3002 Pointer contains the pointer to the Bill of Material component
that is being deleted. All Substitute components associated with this Bill of Material Component will
also be deleted.
2.Technical Specifications
2.4Processing
1.0 If Mode is not equal to '1', '2' or '3' or DS F3002Pointer is equal to NULL, Assign DS
ErrorMessageID = '4375'. If Mode is not equal to '2' or '3' or DS F3002Pointer is equal to NULL, and DS
Suppress Error Messages is not equal to '1', SetGBRError = '4375'.
2.0. If (Mode is equal to '2') and (DS Line No is equal to DS F3002Pointer Line No) and (DS Sequence
No is equal to DS F3002Pointer Sequence No), return.
3.0. Fetch all records where MMCU, KIT, TBM, BQTY, and CPNT are equal to the values from the DS
F3002Pointer using index: Parent Item, Branch, Type, + until all records have been copied, revised,
deleted, or rejected.
record.
3.2. If Mode is equal to '3', delete substitute part.
parameters:
ParentBranch = F3002 ParentBranch
ParentItem = F3002 ParentItem
TypeofBill = F3002 TypeofBill
BatchQuantity = F3002 BatchQuantity
LineNo= F3002 LineNo
SuppressErrorMessage= '1'
3.3. If Mode is equal to '2', revise substitute part.
Line No, call UpdateBOMAuditLog (B3000420) using the following parameters:
Parent Branch= F3002 Parent Branch
Parent Item= F3002 Parent Item (short)
Type of Bill= F3002 Type of Bill
Batch Quantity= F3002 Batch Quantity (File)
Line No. = F3002 Line No
Substitute Item Sequence = F3002 Substitute Item Sequence
SuppressErrorMessages= '1'
No, call UpdateBOMAuditLog (B3000420) using the following parameters:
Parent Branch= F3002 Parent Branch
Parent Item= F3002 Parent Item (short)
Type of Bill= F3002 Type of Bill
Batch Quantity= F3002 Batch Quantity (File)
Line No. = F3002 Line No
Substitute Item Sequence = F3002 Substitute Item Sequence
SuppressErrorMessages= '1'
Sequence No equal to DS Sequence No.
to DS Line No.
3.3.6. Retrieve audit info using the BF GetAuditInfo.
F3002Pointer values.
KIT= DS ParentItem(short)
TBM = DS Type of Bill
BQTY= DS Batch Quantity
CPNT = DS Line No
OPSQ= DS Operation Sequence
UOM= DS Batch Qty UOM
PID= DS Program Id
3.4.3. Assign current date and time.
3.4.4. Write new Substitute Component to the Bill of Material Table (F3002).
1.) Bill of Material Table (F3002) using index Parent Item, Branch, Type, +
Parent BranchMMCU
Parent ItemKIT
Type of BillTBM
Batch QuantityBQTY
LineNoCPNT
Co-/By-Product FlagCOBY
Substitute Item SequenceSBNT
Operation SequenceOPSQ
D3000430 - Update Substitute Parts
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cMode | MODE | char | NONE | NONE |
The processing mode used in Purchase Order Consolidator to signify when specific orders are being processed. | ||||
szParentBranch | MMCU | char | NONE | NONE |
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
| ||||
mnParentItemShort | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szTypeofBill | TBM | char | NONE | NONE |
A user defined code (40/TB) that designates the type of bill of material. You can define different types of bills of material for different uses.
| ||||
mnBatchQuantityFile | BQTY | MATH_NUMERIC | NONE | NONE |
The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components
| ||||
mnSequenceNumber | OPSQ | MATH_NUMERIC | NONE | NONE |
A number used to indicate an order of succession.
In routing instructions, a number that sequences the fabrication or assembly steps in the
| ||||
cLogBillOfMaterial | LOGB | char | NONE | NONE |
A code that determines whether changes to the bill of material are recorded in the Bill of Material Change File table (F3011). When you log
| ||||
cSuppressErrorMessages | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szErrorMessageID | DTAI | char | NONE | NONE |
A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or
| ||||
szParentItem2nd | KITL | char | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szParentItem3rd | KITA | char | NONE | NONE |
The system provides three separate item numbers:
1. Item Number (short) - An eight-digit, computer assigned, completely non-significant
| ||||
idF3002Pointer | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
szUnitOfMeasureAsInput | UOM | char | NONE | NONE |
A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box). | ||||
szProgramId | PID | char | NONE | NONE |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
jdEffectiveFromDate | EFFF | JDEDATE | OPT | NONE |
A date that indicates one of the following:
o When a component part goes into effect on a bill of material
o When a routing step goes into
| ||||
jdEffectiveThruDate | EFFT | JDEDATE | OPT | NONE |
A date that indicates one of the following:
o When a component part is no longer in effect on a bill of material
o When a routing step is no
| ||||
szBranchComponent | CMCU | char | OPT | NONE |
A secondary or lower-level business unit. The system uses the value that you enter to indicate that a branch or plant contains several
| ||||
mnLineNo | CPNB | MATH_NUMERIC | OPT | NONE |
A number that specifies how the system displays the sequence of components on a single-level bill of material. This number initially
|
B3000420 Update BOM Audit Log | ||||
B9800100 Get Audit Information |
F3002 Bill of Material Master File |