1.Functional Description
1.1Purpose
This business function will load records on grid for P3404 when data will be retrieved from F3002.
1.2Setup Notes and Prerequisites
DS CobyIndex will be used to access members of the COBY string, used as the key to the F3002 table,
and on first call (Mode = 1) an application makes, CobyIndex should be initialized to zero by the
calling application.
1.3Special Logic
2.Technical Specifications
KIT = User Input on Form P3404
MMCU = User Input on Form P3404
Define an array of COBY types
CobyString[0] = B
CobyString[1] = C
CobyString[2] = ' '
CobyString[3] = NULL
Note: DS CobyIndex will be used to access members of the string, and on first call (Mode = 1)
CobyIndex should be initialized to zero by the calling application.
Check CobyString[CobyIndex] != NULL. If NULL, ( no more COBY types in CobyString), assign '1' to DS
DoneFlag and return.
if Mode = 1
Open Table and Read Record with ( KIT + MMCU + COBY[DS CobyIndex] ) from
F3002
Save hRequest, hUser pointers in the corresponding DS fields
if Mode = 2
a. Retrieve hRequest Pointer and read Next Record with ( KIT + MMCU +
BY[DSCobyIndex] ) from F3002.
a.1 - if record is not found, set DS FoundFlag = '9', close table and turn.
Note - application should then add 1 to the CobyIndex so as to fetch the xt
COBY group application should then call this BF in Mode 1 again.
if Mode = 3
Close Table and remove hUser and hRequest Pointers
in any Mode (except Mode 3) AND Fetch Passes
a. If ITM = KIT then
EV01 = " "
Else
EV01 = "Y"
b. Get description ( DSC1) from F4101 using ITM - ( X4101 Business Function )
c. Load F3002 fields and DSC1 from X4101 into DS output fields
^
D3401070 - F3404 Get Record From F3002
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnShortItemNumber | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szCostCenterAlt | 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
| ||||
mnIdentifierShortItem | ITM | MATH_NUMERIC | NONE | NONE |
An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item
| ||||
szDescriptionLine1 | DSC1 | char | NONE | NONE |
Brief information about an item; a remark or an explanation. | ||||
cFoundFlag | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnFeaturePlannedPercent | FTRP | MATH_NUMERIC | NONE | NONE |
The percentage of demand for a specified feature based on projected production. For example, a company might produce 65% of their
| ||||
mnFeatureCostPercent | FTRP | MATH_NUMERIC | NONE | NONE |
The percentage of demand for a specified feature based on projected production. For example, a company might produce 65% of their
| ||||
jdEffectiveFromDate | EFFF | JDEDATE | NONE | 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 | NONE | 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
| ||||
idF3002_HRequestPointer | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
cMode | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
idF3002_HUserPointer | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
nCobyIndex | INT01 | integer | NONE | NONE |
Number of Days in Future to Query for Responses Due. | ||||
cDone | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
szBranchComponent | CMCU | char | NONE | 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
|
X4101 Validate and Retrieve Item Master |
F3002 Bill of Material Master File | ||||
F4101 Item Master |