1.Functional Description
1.1Purpose
This function will verify existence of a segment reference in Cross Segment Editing (F3292).
1.2Setup Notes and Prerequisites
The calling application is responsible for loading all appropriate key values to the data structure
and identifying the mode.
There is no special logic within this function.
2.Technical Specifications
2.4Processing
1.If Parent Item Number (KIT), Branch/Plant (MCU), or Segment Number (PEL) was not passed, return
Error Message ID (DTAI) as '0002'.
2.Read all Cross Segment Editing (F3292) records with the Parent Item Number (KIT), Branch/Plant
(MCU), and Parent Segment Number (PEL).
3.If a record is found with Segment Item (PSIN) equal to zero or Parent Item (KIT) equal Segment
Item (PSIN) and Branch/Plant (MCU) equal to Segment Branch (EMCU), return Error Message ID (DTAI) as
Blanks.
4.If not, continue.
5.Fetch a Cross Segment Editing (F3292) record with Segment Item Number (PSIN), Parent Segment
Number (PEL), and Segment Branch (EMCU).
6.If record is found, return Error Message ID (DTAI) as Blanks.
7.Fetch a Cross Segment Editing (F3292) record with Parent Item Number (KIT), Branch/Plant (MCU),
and Child Segment Number (CEL).
8.If record is found, return Error Message ID (DTAI) as Blanks.
9.If no record was found, return Error Message ID (DTAI) as '017F'.
D3200990 - F3292, Verify Segment Reference
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnParentItemNumberShort | KIT | MATH_NUMERIC | NONE | NONE |
The system provides for three separate item numbers.
1. Item Number (short) - An eight-digit, computer assigned, completely
| ||||
szBranchPlant | MCU | char | NONE | NONE |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
mnParentSegmentNumber | PEL | MATH_NUMERIC | NONE | NONE |
A number that establishes the sequence in which the segments were defined in the system. Segment numbers are user
| ||||
cSuppressErrors | 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
|
None |
None |