1.Functional Description
This business function will get all the Configured Item Segment rows from the F3291 table for a given
key. This business function will provide records by either full key or partial key.
The first time the function is called, pass a '1' in the Type
parameter so the Request is not released.
To get the next value in the table, pass a '2' in the Type
parameter. To release the request, pass a '3'
in the Type parameter.
Keys: Pass the number of key elements used to fetch the record.
Suppress Error Message: 1=Suppress runtime error message handling, 0=Allow runtime error
message handling.
This business function will get the next Configured Item Segments row by key, and have capability to
provide records by either full key or partial key.
1.2Setup Notes and Prerequisites
Set on "Suppress Error Messages" to suppress the runtime error message handling. Otherwise, if an
error occurs the error message will be displayed on the message line and the appropriate field (if any)
will be highlighted.
The user passes to the business function the number key fields within the index that will be used.
for the following index: MCU and ITM.
Return Field values.
1.3Special Logic
None.
2.Technical Specifications
2.4Processing
1. If the Input Request Type = '3', Release the Request and exit the Business function.
2. If the Input Request Type is '1', Get the Configured Item Segments row (F3291) using the specified
key values.
3. If the Request Type = '2', read the next F3291 row using above keys.
4. If row is found
Load the Output fields.
Exit
Else
Release the request and exit the business function.
Endif
5. If any errors, Release the request and exit the function.
Retrievals:
1. Configured Item Segments table (F3291).
Returns:
1. If fetch fails, return Error Message ID '0002' (Record Invalid).
2. If fetch is successful, return the field values if required.
3. If EOF reached, return '1' in End of File parameter, otherwise return 0
4. Other errors : "3143"
^
D3200930 - Get Next Config Item Segments Row
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szCostCenter | 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
| ||||
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
| ||||
szIdentifier2ndItem | LITM | char | NONE | NONE |
A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to
| ||||
szIdentifier3rdItem | AITM | char | NONE | NONE |
The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item
| ||||
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
| ||||
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
| ||||
szDescriptionLine1 | DSC1 | char | NONE | NONE |
Brief information about an item; a remark or an explanation. | ||||
szDataItem | 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
| ||||
cRequiredToBe | ATRQ | char | NONE | NONE |
A code that specifies whether a segment is required or optional in a configuration, or whether the system must calculate it to specification
| ||||
szSystemCode | SY | char | NONE | NONE |
A user defined code (98/SY) that identifies a system. Valid values include:
01
Address Book
03B
Accounts Receivable
04
Accounts
| ||||
szUserDefinedCodes | RT | char | NONE | NONE |
A code that identifies the table that contains user defined codes. The table is also referred to as a UDC type. | ||||
szValueForEntryDefault | DVAL | char | NONE | NONE |
Used as the initial value on the data entry screen for the associated data item. The value entered must be the exact same length as the
| ||||
szLowerAllowedValueDd | LVAL | char | NONE | NONE |
The lower allowed value of this specific segment. If you enter a value here,then you must also enter an upper allowed value. | ||||
szAllowedValueUpper | UVAL | char | NONE | NONE |
The upper allowed value of this specific segment. If you enter a value here,then you must also enter an lower allowed value. | ||||
cNumericYN | CNUM | char | NONE | NONE |
Determines whether a user defined code is numeric or alphanumeric.
Valid values are:
Y Indicates that the code is numeric and should be
| ||||
mnDataItemSize | DTAS | MATH_NUMERIC | NONE | NONE |
The field size of the data item.
Note: All amount fields should be entered as 15 bytes, 0 decimals, and the data item type should be P
| ||||
cDataDisplayDecimals | CDEC | char | NONE | NONE |
A value that designates the number of decimals in the currency, amount, or quantity fields the system displays. For example, U.S. Dollars
| ||||
cATOSaveSegment | ATSA | char | NONE | NONE |
A user defined code (32/YN) that specifices whether the segment value is significant enough to make the configuration unique. Valid values
| ||||
mnSpacesBeforeSegmentInfor | SPBN | MATH_NUMERIC | NONE | NONE |
The number of spaces that should print before the segment information in the user defined format. | ||||
cATOPrintSegmentNumber | ATSN | char | NONE | NONE |
A user defined code (32/YN) that specifies whether the system prints the segment number on the order paperwork. Valid values are:
0
Do
| ||||
cATOPrintSegmentDescripti | ATSD | char | NONE | NONE |
A user defined code (32/YN) that specifies whether the system prints the segment description on the order paperwork. Valid values
| ||||
cATOPrintSegmentValue | ATSV | char | NONE | NONE |
A user defined code (32/YN) that specifies whether the system prints the segment value on the order paperwork. Valid values are:
0
Do not
| ||||
cATOPrintSegmentValueDesc | ATVD | char | NONE | NONE |
A user defined code (32/YN) that specifies whether the system prints the segment value description on the order paperwork. Valid values
| ||||
mnSpacesAfterSegmentInform | SPAN | MATH_NUMERIC | NONE | NONE |
The number of spaces that should print after the segment information in the user defined format. | ||||
cReturnandStartNewLine | RTNL | char | NONE | NONE |
A user defined code (32/YN) that indicates whether the system starts a new line after it prints the segment nformation. Valid values
| ||||
cDerivedCalculationRound | RNDC | char | NONE | NONE |
This field will be used to indicate how many positions to the right of the decimal a derived calculation should be rounded.
For example,
o If
| ||||
szUpdateCategoryCode | UPCC | char | NONE | NONE |
A code that specifies which work order category code that the system populates with the segment value during order entry. | ||||
cRequestType | 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
| ||||
nKeys | INT01 | integer | NONE | NONE |
Number of Days in Future to Query for Responses Due. | ||||
cEndOfFile | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
cReturnFieldValues | 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. | ||||
hRequestF3291 | GENLNG | ID | NONE | NONE |
General purpose ID variable. |
None |
F3291 Configured Item Segments |