FormatValueForDatabase

Data Dictionary - Format Edit and Display Rules

Minor Business Rule

Object Name: B9200015

Parent DLL: CDDICT

Location: Client/Server

Language: C

Data Structure

D9200015A - Format Default Value For Database Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
szDisplayDefaultValueMDcharNONENONE

The description of a record in the Software Versions Repository file. The member description is consistent with the base member 
description.

mnDataItemSizeDTASMATH_NUMERICNONENONE

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 
(packed).

cDataDisplayDecimalsCDECcharNONENONE

A value that designates the number of decimals in the currency, amount, or quantity fields the system displays. For example, U.S. Dollars 
would be 2  decimals, Japanese Yen would be no decimals, and Cameroon Francs would be 3  decimals.

szDatabaseDefaultValueDVALcharNONENONE

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 
data item size. Place single quotes around the value if it contains any embedded blanks.  The keywords *BLANKS and *ZEROS can be used 
as the default value.  When entering a numeric data item with default values, the redisplay of the data item suppresses all leading 
zeros. CAUTION:  If a blank entry is allowed, default values should not be used.

cDecimalFormatDECFcharOPTNONE

The number of positions to the right of the decimal you want to use. If you leave this field blank, the system value is used as the default.

Related Functions

None

Related Tables

None
FormatValueForDisplay

FormatValueForDisplay

Data Dictionary - Format Edit and Display Rules

Minor Business Rule

Object Name: B9200015

Parent DLL: CDDICT

Location: Client/Server

Language: C

Data Structure

D9200015A - Format Default Value For Database Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
szDisplayDefaultValueMDcharNONENONE

The description of a record in the Software Versions Repository file. The member description is consistent with the base member 
description.

mnDataItemSizeDTASMATH_NUMERICNONENONE

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 
(packed).

cDataDisplayDecimalsCDECcharNONENONE

A value that designates the number of decimals in the currency, amount, or quantity fields the system displays. For example, U.S. Dollars 
would be 2  decimals, Japanese Yen would be no decimals, and Cameroon Francs would be 3  decimals.

szDatabaseDefaultValueDVALcharNONENONE

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 
data item size. Place single quotes around the value if it contains any embedded blanks.  The keywords *BLANKS and *ZEROS can be used 
as the default value.  When entering a numeric data item with default values, the redisplay of the data item suppresses all leading 
zeros. CAUTION:  If a blank entry is allowed, default values should not be used.

cDecimalFormatDECFcharOPTNONE

The number of positions to the right of the decimal you want to use. If you leave this field blank, the system value is used as the default.

Related Functions

None

Related Tables

None
ScrubEditRules

ScrubEditRules

Data Dictionary - Format Edit and Display Rules

Minor Business Rule

Object Name: B9200015

Parent DLL: CDDICT

Location: Client/Server

Language: C

Data Structure

D9200015 - Data Dictionary - Format Edit and Display Rules

Parameter NameData ItemData TypeReq/OptI/O/Both
szDataTypeOneWorldOWTPcharNONENONE

The style or classification of data, such as numeric, alphabetic, and date. Do not change the data item type if it is used within an existing 
application. Otherwise, you must regenerate your table and review all business functions that use this data item. Data types include the 
following: Character A single letter, always the size of one. Date A date. Integer An integer. Character (Blob) An item that can be translated from EBCDIC 
(8-bit character code commonly used on IBM mainframes) to ASCII (7-bit character code). Binary (Blob) An item that cannot be translated, 
appears in machine code, and is found as an executable file under Win.help. Binary An option that represents two choices. It is usually a 
combination of the digits 1 and 0 to represent on and off or true and false. String An item that is always the same size or length. Variable String An item of 
variable size. JDE UTime An item that allows business process to span several time zones. Identifier (ID) An item that is used within the 
program logic for controls. An ID is used to write a C program and reference third-party software that returns a pointer. A JDE API then saves the 
pointer that references the ID. The parameter that the system passes to the C program is the ID. Numeric A long integer.

mnDataItemSizeDTASMATH_NUMERICNONENONE

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 
(packed).

mnDataFileDecimalsDTADMATH_NUMERICNONENONE

The number of stored positions to the right of the decimal of the data item.

cDataDisplayDecimalsCDECcharNONENONE

A value that designates the number of decimals in the currency, amount, or quantity fields the system displays. For example, U.S. Dollars 
would be 2  decimals, Japanese Yen would be no decimals, and Cameroon Francs would be 3  decimals.

szDataDisplayRulesDRULcharNONENONE

Keywords which decribe a formatting technique applied when data is displayed. The developer can override these rules at the time of 
program creation. The current list of these rules is kept in the User Defined Codes table 98/DR.

szDataEditRulesERULcharNONENONE

Keywords which decribe an editing technique applied when data is entered. Validation applied to the data after Enter is pressed. The rule 
will be applied as specified in the F9207 table at the screen/report and/or the action code as desired. The developer can override these rules 
at the time of program creation. The current list of these rules is kept in the User Defined Codes at SYSTEM = 98 and RECORD TYPE = ER.

szDataDisplayParametersDRO1charNONENONE

Data Display Parameters contains additional information which is required by some of the display rules.    Display Rule            Parameter 1    
------------  ----------    *PROC       The name of the *PROC routine to be used for display    CODE         The particular edit code to be used for 
display    MASK         The edit word to be applied    PGM           The name of the program to be used to display the field    *RAB          ** leave 
parameter field blank    *RAZ          ** leave parameter field blank

szDataEditop1ERO1charNONENONE

The Data Edit Op1 is one of two parameters which are passed to the Edit Rule. Following are examples of what this field should contain:     o 
RANGE (NRANGE) - Lower limit of range (or not range)     o VALUE (NVALUE) - A list of allowed values (or NOT in a list)     o UDC - The 
system code for User Defined Code validation     o FILE - The name of the validation file     o CHKOBJ - The object type (*FILE, *LIB, *PGM, *JOBQ, 
etc.)     o  *PROC - The name of the *PROC routine to do the editing     o PGM - The name of a program to call for the editing     o SERVER - The 
name of the server which performs the editing     o Boolean specs - A specific value

szDataEditop2ERO2charNONENONE

The Data Edit Op2 is one of two parameters which are passed to the Edit Rule. Following are examples of what this field should contain:        
RANGE (NRANGE) - Upper limit of range (or not range)        UDC - The record type for User Defined Code validation  This field should be 
blank for all other editing rule types.

cErrorEV01charNONENONE

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

cDecimalFormatDECFcharOPTNONE

The number of positions to the right of the decimal you want to use. If you leave this field blank, the system value is used as the default.

Related Functions

None

Related Tables

None
ValidateDisplayRuleCodes

ValidateDisplayRuleCodes

Data Dictionary - Format Edit and Display Rules

Minor Business Rule

Object Name: B9200015

Parent DLL: CDDICT

Location: Client/Server

Language: C

Data Structure

D9200015 - Data Dictionary - Format Edit and Display Rules

Parameter NameData ItemData TypeReq/OptI/O/Both
szDataTypeOneWorldOWTPcharNONENONE

The style or classification of data, such as numeric, alphabetic, and date. Do not change the data item type if it is used within an existing 
application. Otherwise, you must regenerate your table and review all business functions that use this data item. Data types include the 
following: Character A single letter, always the size of one. Date A date. Integer An integer. Character (Blob) An item that can be translated from EBCDIC 
(8-bit character code commonly used on IBM mainframes) to ASCII (7-bit character code). Binary (Blob) An item that cannot be translated, 
appears in machine code, and is found as an executable file under Win.help. Binary An option that represents two choices. It is usually a 
combination of the digits 1 and 0 to represent on and off or true and false. String An item that is always the same size or length. Variable String An item of 
variable size. JDE UTime An item that allows business process to span several time zones. Identifier (ID) An item that is used within the 
program logic for controls. An ID is used to write a C program and reference third-party software that returns a pointer. A JDE API then saves the 
pointer that references the ID. The parameter that the system passes to the C program is the ID. Numeric A long integer.

mnDataItemSizeDTASMATH_NUMERICNONENONE

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 
(packed).

mnDataFileDecimalsDTADMATH_NUMERICNONENONE

The number of stored positions to the right of the decimal of the data item.

cDataDisplayDecimalsCDECcharNONENONE

A value that designates the number of decimals in the currency, amount, or quantity fields the system displays. For example, U.S. Dollars 
would be 2  decimals, Japanese Yen would be no decimals, and Cameroon Francs would be 3  decimals.

szDataDisplayRulesDRULcharNONENONE

Keywords which decribe a formatting technique applied when data is displayed. The developer can override these rules at the time of 
program creation. The current list of these rules is kept in the User Defined Codes table 98/DR.

szDataEditRulesERULcharNONENONE

Keywords which decribe an editing technique applied when data is entered. Validation applied to the data after Enter is pressed. The rule 
will be applied as specified in the F9207 table at the screen/report and/or the action code as desired. The developer can override these rules 
at the time of program creation. The current list of these rules is kept in the User Defined Codes at SYSTEM = 98 and RECORD TYPE = ER.

szDataDisplayParametersDRO1charNONENONE

Data Display Parameters contains additional information which is required by some of the display rules.    Display Rule            Parameter 1    
------------  ----------    *PROC       The name of the *PROC routine to be used for display    CODE         The particular edit code to be used for 
display    MASK         The edit word to be applied    PGM           The name of the program to be used to display the field    *RAB          ** leave 
parameter field blank    *RAZ          ** leave parameter field blank

szDataEditop1ERO1charNONENONE

The Data Edit Op1 is one of two parameters which are passed to the Edit Rule. Following are examples of what this field should contain:     o 
RANGE (NRANGE) - Lower limit of range (or not range)     o VALUE (NVALUE) - A list of allowed values (or NOT in a list)     o UDC - The 
system code for User Defined Code validation     o FILE - The name of the validation file     o CHKOBJ - The object type (*FILE, *LIB, *PGM, *JOBQ, 
etc.)     o  *PROC - The name of the *PROC routine to do the editing     o PGM - The name of a program to call for the editing     o SERVER - The 
name of the server which performs the editing     o Boolean specs - A specific value

szDataEditop2ERO2charNONENONE

The Data Edit Op2 is one of two parameters which are passed to the Edit Rule. Following are examples of what this field should contain:        
RANGE (NRANGE) - Upper limit of range (or not range)        UDC - The record type for User Defined Code validation  This field should be 
blank for all other editing rule types.

cErrorEV01charNONENONE

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

cDecimalFormatDECFcharOPTNONE

The number of positions to the right of the decimal you want to use. If you leave this field blank, the system value is used as the default.

Related Functions

None

Related Tables

None