EvaluateConfiguredString

Config String, Format Segments

Minor Business Rule

Object Name: B3200580

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
Interpret Configured String into segment values.

1.2Setup Notes and Prerequisites

The calling application is responsible for retrieving Configurator Separator character and passing 
that value to the business function.


1.3Special Logic

There is no special logic within this function.

2.Technical Specifications

2.2Related Tables - NONE

2.3Related Business Functions - NONE


2.4 Processing 

When the mode equals 2, the two 250 character strings (CF01 & CF02) are concatenated into CF500.  
Otherwise CF500 is used as received from the data structure.


The configurator segment delimiter (SECD) is a single value which separates segments in the 

configured string.  Example:  Delimiter = /

Configured String = C/10/30/INL/2/25

Based on the relative segment position from the beginning of the string, retrieve the string value 

stripping out the delimiter character.

Example:Relative  segment position = 3

Configured String = C/10/30/INL/2/25
Segment Value = 30


When evaluating an entire configured string segment by segment, it is necessary to know when the end 

of the string has been reached.  The field EV01 will be used to indicate:  more segments exist (1), no 

more segments exist (0).


Returns:  Segment value and Segments exist flag.  Error messaging also available.


^

Data Structure

D3200580 - Evaluate Configured String

Parameter NameData ItemData TypeReq/OptI/O/Both
cMode_1_500_2_250EV01charNONENONE

An option that specifies the type of processing for an event.

szConfiguredString500CF500charNONENONE

The configured string identifier as it was originally entered on a Sales Order.

szConfiguredString250_1CF01charNONENONE

Reserved by J.D. Edwards A string that is generated by concatinating the value of each segment.

szConfiguredString250_2CF02charNONENONE

Reserved by J.D. Edwards A string that is generated by concatinating the value of each segment.

cSegmentDelimiterSECDcharNONENONE

A character separator that you use with configured items during order entry. This character must be the same for each branch/plant. The 
default character is a /. Although you can specify a different character, J.D. Edwards recommends that you do not use an * and that you do not 
change the value after you specify it. For the segment delimiter, use a character that could never appear within an answer to a segment 
question.

mnRelativeSegmentPositionCNTMATH_NUMERICNONENONE

The number of units that the system counts in the primary unit of measure.

cSegmentExistsEV01charNONENONE

An option that specifies the type of processing for an event.

szSegmentValueSGVLcharNONENONE

An answer to the configurator feature and option questions that appear during order entry. When you define cross-segment editing rules, 
you compare the segment answers to values to determine invalid configurations. When you define assembly inclusion rules, you create unique 
configurations by comparing the segment answers to values to assign parts, prices, calculated values, or routing steps.

cSupressErrorMessageEV01charNONENONE

An option that specifies the type of processing for an event.

szErrorMessageIDDTAIcharNONENONE

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 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

Related Functions

None

Related Tables

None