F3292CSERuleTranslateString

F3292 CSE Rule Translate String

Major Business Rule

Object Name: B3200200

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This function will retrieve Rule from CSE Rules Table F3292 and retrieve information from CACHE,
then translate the Rule and Segment to a readable format and then concatenate them to Rule-string and

Segment-String.


1.2Setup Notes and Prerequisites

Initialize output strings before use

1.3Special Logic

There is no special logic within this function.

2.Technical Specifications
2.4Processing

1. Using partial key values (LIND, KIT, MCU, and ATO#) to retrieve all the rule sequences.
2. For each Rule Sequence, retrieve segment description and value from CACHE by calling

CacheProcessSegmentValue (B3200350).

Translate the Rule and Segment to a readable format, then concatenate them             to 

output strings,Configured Rule String and Configured Segment String.

3. If the Rule contains *RANGE or *VALUE

If the Rule Type (ATOT) is 'I' 
then put brackets over *RANGE or *VALUE on the IF statement
If the Rule Type (ATOT) is 'T' 
then put brackets over *RANGE or *VALUE on the THEN statement
Otherwise, retrieve Rule-Range from Rule Ranges Table F32922
or retrieve Rule-Value from Rule Values Table F32921.



^

Data Structure

D3200200 - F3292 CSE Rule Translate String

Parameter NameData ItemData TypeReq/OptI/O/Both
mnConfiguredItemNumberKITMATH_NUMERICNONENONE

The system provides for three separate item numbers.    1.   Item Number (short) - An eight-digit, computer assigned, completely 
non-significant item number.    2.   2nd Item Number - The 25-digit, free form, user defined alphanumeric item number.    3.   3rd Item Number - Another 
25-digit, free form, user defined alphanumeric item number.

szBranchPlantMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnRuleNumberATO#MATH_NUMERICNONENONE

The number associated with a set of cross-segment editing rules or assembly inclusion rules.

cRuleTypeATOTcharNONENONE

A value that identifies whether the resulting value of the assembly inclusion rule is a part number, price, routing operation, or calculated 
value. The valid values are:    P Part List    Q Work Order Component    C Calculation    H Hot Spot    X Price/Cost Adjustment    R Route Sheet

szConfiguredRuleStringMCFGcharNONENONE

Reserved by J.D. Edwards A string that the system generates by concatinating the value of each segment.

mnParentSalesOrderLineNumberLNIDMATH_NUMERICNONENONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

cSuppressErrorMessageEV01charNONENONE

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.

szSegmentValueStringMCFGcharNONENONE

Reserved by J.D. Edwards A string that the system generates by concatinating the value of each segment.

mnJobNumberJOBSMATH_NUMERICNONENONE

The job number (work station ID) which executed the particular job.

mnConfigurationIDNumberCFGIDMATH_NUMERICOPTNONE

An identifier that represents a unique configuration. It is generated by a next number value and is the key to the configuration tables.

mnComponentIDNumberCFGCIDMATH_NUMERICOPTNONE

A number that represents a component in a configuration. This number, which is generated by next numbers, always restarts at 1 and 
increments, based on the number of components in the configuration.

Related Functions

B3200350 Cache Process Segement Values
X0005 Get User Defined Codes

Related Tables

F3292 Cross Segment Editing Rules
F32921 Cross Segment Editing Rules - Values
F32922 Cross Segment Editing Rules - Range