Purpose
This business function builds an expression in a string to eventually be evaluated by the B00000501-
Algebraic Expression Builder.
Setup Notes and Prerequisites
The formula must already be defined. The function is called until all patterns have been replaced
with numeric values. The pattern matches only one formula element at a time, and returns the same formula
element back with the pattern replaced by a numeric value.
Special Logic
The numeric value replaced always contains a decimal with at least one digit because the pattern
could be a number value. The pattern should be limited to alpha fields and numeric fields without
decimals.
^
D0000501 - Algebraic Expression Builder
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szExpression | CALCIT | char | REQ | BOTH |
This field is used to store an algebraic expression string | ||||
szPattern | DL01 | char | REQ | INPUT |
A user defined name or remark. | ||||
mnNumeric | AO1OW | MATH_NUMERIC | REQ | INPUT |
A value that the method of computation and processing options are set to in order to determine which fields appear on this form. Valid
|
None |
None |