RetrieveCalcRegisterValues

Retrieve Calculated Value from Multiple Registers Function

Minor Business Rule

Object Name: N48S0631

Parent DLL: CCRIN

Location: Client/Server

Language: NER

Data Structure

D48S0631 - Retrieve Calc Value from Multiple Registers Data Structure

Parameter NameData ItemData TypeReq/OptI/O/Both
szRegisterEquation_R34PR34PcharOPTINPUT

This smart field enables you to calculate and display the value by performing operations on the values stored in multiple registers. Enter 
the equation you would like the system to use to calculate the value you want to display in this field. The elements of the equation can be any 
register number (1-99) or a constant number. Enter registers by entering # or @ character following by the register number, for example,  #21 
or @21. The "#" character instructs the system to retain the value in the register after it is used in the equation. The "@" character instructs the 
system to clear the value in the register after it is used in the equation. Enter constant numbers by just entering the number (i.e. 100). The 
operations you can perform in the equation are addition, subtraction, multiplication, and division. Enter these by entering the +, -, *,  / characters 
respectively. Equations will be performed from left to right. Parentheses, brackets, etc. will not be recognized. For example, if you want to add the 
value in register 2 to the value in register 3, then multiply that sum by the value in register 21, then divide that product by 100. You would 
enter: #2+#3*21/100. If you want to clear the value in register 3 afterwards. You would enter the following: #2+@3*#21/100.

mnAccumRegisterNumb_R25PR25PMATH_NUMERICOPTINPUT

A value used to identify a register for storing retrieval code information. You can set up to 99 user defined registers. You can define 
additional retrieval references to print, or calculate and print, the contents of the register. For example, you could use this field to calculate grand 
totals. Valid values are: 1-99

mnNumericField_MATH01MATH01MATH_NUMERICOPTOUTPUT

- - - Good Performance Low Value. 

szErrorCode_ERNOERNOcharOPTOUTPUT

The error number assigned by the JDE edit/update programs designating the exact error that occured.

Related Functions

None

Related Tables

None