1.Functional Description
1.1Purpose
This function will
A)Delete generic text that is associated to the F3002 record based on Parent Item, Batch Qty, and Parent Branch, Type of Bill, Component Line
Number, and Component Item.
B)Copy the original F3002 generic text to the new F3002 record based on Parent Item, Parent Branch, Batch Qty, Type of Bill, Component Line
Number, and Component Item.
1.2Setup Notes and Prerequisites
1.3Special Logic
Set Process Edits = 'D' to delete the F3003 record's generic text.
Process Modes
D = Delete (Deletes Key in From variables)
U = Update (Updates by copying From to To, then deleting From)
C = Copy (Copies From to To)
2.2Related Tables
F00165
2.3Related Business Functions
none
2.4Processing
If input Process Edits = Copy Mode
Copy input "From" parameters to the GT3002BF(To) Key structure:
From Parent Item Number
From Branch Plant
From Bill Type
From Batch Qty
From Component Number
From Component Item
Copy input "To" parameters to the GT3002BT(To) Key structure:
To Parent Item Number
To Parent Branch
To Bill Type
To Batch Qty
To Component Number
To Component Item
Call Copy Generic Text API
End If
If Successful
Error Code = 0
Else
Error Code = 1
End If
If input Process Edits = Delete Mode
Copy input "From" parameters to the GT3002BF(To) Key structure:
From Parent Item Number
From Parent Branch
From Bill Type
From Batch Qty
From Component Number
From Component Item
Call Delete Generic Text API
If Successful
Error Code = 0
Else
Error Code = 1
End If
D3003650 - GT3002B Copy or Delete Generic Text
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cProcessEdits | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cErrorCode | ERRC | char | OPT | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
cSuppressErrorMessage | SUPPS | char | OPT | NONE |
A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.
0 = allow
| ||||
szErrorMessageID | DTAI | char | OPT | 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
| ||||
mnFromParentItemShort | KIT | MATH_NUMERIC | OPT | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szFromParentBranch | MMCU | char | OPT | 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
| ||||
szFromTypeBill | TBM | char | OPT | 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.
| ||||
mnFromUnitsBatchQuantity | BQTY | MATH_NUMERIC | OPT | NONE |
The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components
| ||||
mnFromItemNumberShort | ITM | MATH_NUMERIC | OPT | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
mnToParentItemShort | KIT | MATH_NUMERIC | OPT | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szToParentBranch | MMCU | char | OPT | 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
| ||||
szToTypeBill | TBM | char | OPT | 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.
| ||||
mnToUnitsBatchQuantity | BQTY | MATH_NUMERIC | OPT | NONE |
The quantity of finished units that you expect this bill of material or routing to produce. You can specify varying quantities of components
| ||||
mnToItemNumberShort | ITM | MATH_NUMERIC | OPT | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
mnFromComponentLineNumber | 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
| ||||
mnToComponentLineNumber | 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
|
None |
None |