TextSubTwoMathNumWithRedError

Text Sub Error Two Math Numeric Specific Field Red

Minor Business Rule

Object Name: B0500655

Parent DLL: CHRM

Location: Client/Server

Language: C

Business Function Specification

1.Functional Description


1.1Purpose

This is a text substitution error message function.  This function takes two math numeric values and an error data item and substitutes them into that 

error.  It calls the error and sets the error in an application the last parameter is the field that will be colored red in the application.


1.2Setup Notes and Prerequisites


1.3Special Logic


2.Technical Specifications


2.1Parameters: D0500655

Data Item Data Structure DescriptionI/ORequiredNotes

DTAIszErrorMessageIdIYesData Dictionary ID of the error message to be set

EV01cErrorCodeONoError returned if cannot call error above

MATH01mnSubstiutionMathNumeric1IYesMath Numeric value that will be substituted for &1 in error message

MATH01MnSubstiutionMathNumeric2IYesMath Numeric value that will be substituted for &2 in error message

MATH01mnMathNumericErrorFieldINoField in the application that will be set to red when error is called


2.4Processing 


Copy MathNumeric1 to the AmtOrRate element of DE08002

Copy MathNumeric2 to the AmtOrRate_2 element of DE08002


Set error passed in (szErrorMessageId) on the MathNumericErrorField of input data structure using the DE08002 text substitution data structure.

Data Structure

D0500655 - Text Sub Error Two Math Numeric Specific Field Red

Parameter NameData ItemData TypeReq/OptI/O/Both
szErrorMessageIdDTAIcharREQINPUT

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.

cErrorCodeEV01charOPTOUTPUT

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

mnSubstiutionMathNumeric1MATH01MATH_NUMERICOPTINPUT

- - - Good Performance Low Value. 

mnSubstiutionMathNumeric2MATH01MATH_NUMERICOPTINPUT

- - - Good Performance Low Value. 

mnMathNumericErrorFieldMATH01MATH_NUMERICOPTINPUT

- - - Good Performance Low Value. 

Related Functions

None

Related Tables

None