1.Functional Description
1.1Purpose
This business function will, when passed an Item Number, Branch/Plant code, and a category code,
return the three digit designator code from one of ten different fields in 4102 table.
1.2Setup Notes and Prerequisites
The equivalencies of the category codes follow:
S1=SRP1
S2=SRP2
S3=SRP3
S4=SRP4
S5=SRP5
P1=PRP1
P2=PRP2
P3=PRP3
P4=PRP4
P5=PRP5
1.3Special Logic
The logic for this function is basically a group of ten if/then statements. If the processing option
is S1, then the designator code is retrieved from the SRP1 field of 4102 table at the passed item
number and Branch/Plant code and returned to the calling form in the PRPX variable. If a 4102 record is
not found and Suppress Error Messages is "1", return "0002" in the Error Message Id field; if Suppress
Error Messages is "0", do not set an error on this condition or return error codes in Error Message
Id.
^
D3001260 - Get Designator
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnItemNumber | 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
| ||||
szBranch | 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
| ||||
szDesignatorVariable | PX | char | NONE | NONE |
User defined codes (5 separate codes are allowed) which can be used to generate selective reporting based on user assigned values of
| ||||
szCategoryCode | PX | char | NONE | NONE |
User defined codes (5 separate codes are allowed) which can be used to generate selective reporting based on user assigned values of
| ||||
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
|
None |
F4102 Item Branch File |