1.Functional Description
This function will determine if the item being processed should be included in the cost simulation
run. If the item does not exist in the T4101 file, the business function should return an error into
DTAI.
1.1Purpose
This business function is called from P30820 cost simulation program in a custom section. The
processing for the item will continue only if the item is found in T4101.
1.2Setup Notes and Prerequisites
2.Technical Specifications
2.4Processing
1. Verify that the item passed in into DS ITM is in the T4101 file.
A. Fetch to T4101 with DS ITM.
2. If fetch failed, return messages.
2.1. If DS Call Type is equal to '1', return error messages.
2.2. If DS Suppress Error Message is not equal to '1', SetGBRError and set error
message id to '0002'.
3. If fetch was successful,
3.1. Perform a special check if the user is performing a single level cost rollup.
3.1.1 If DS Single Level = '1' and IMORDW = '#'
If DS Call Type is equal to '1', return error messages.
If DS Suppress Error Message is not equal to '1', SetGBRError and
set error message id to '0002'.
End.
3.2 Do the following if DS single level does not = '1'.
3.2.1 Return item's primary uom from T4101 (IMUOM1) into DS UOM1.
3.2.2 Return nothing into DS error message id because the program will be
checking for this to be blank.
^
D3000860 - Verify Parent For Cost Simulation
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnItemNumberShort | 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
| ||||
cSingleLevel | VC01A | char | NONE | NONE |
This is a generic field used for video constants display. | ||||
cCallType | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cSuppressErrorMessage | 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
| ||||
szPrimaryUnitOfMeasure | UOM1 | char | NONE | NONE |
A user defined code (00/UM) that identifies the unit of measure that the system uses to express the quantity of an item, for example, EA
|
None |
None |