AlgebraicExpressionBuilder

Algebraic Expression Builder

Minor Business Rule

Object Name: B0000501

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

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.

^

Data Structure

D0000501 - Algebraic Expression Builder

Parameter NameData ItemData TypeReq/OptI/O/Both
szExpressionCALCITcharREQBOTH

 This field is used to store an algebraic expression string

szPatternDL01charREQINPUT

A user defined name or remark.

mnNumericAO1OWMATH_NUMERICREQINPUT

A value that the method of computation and processing options are set to in order to determine which fields appear on this form. Valid 
values are:   o  Force +/- Amounts. This field appears with Methods F, G, O, Q, and S. Incremental change to the Force Amounts (FA) ledger. The 
system calculates force amounts.   o  Force Total Amounts. This field appears with Methods F, G, O, Q, and S. The new total in the Force 
Amounts (FA) ledger. The system calculates +/- force amounts.   o  Percent Complete. This field appears with Methods F, G, O, P, and S. The new 
total in the Percent Complete (F%) ledger.   o  Estimate to Complete Amounts. This field appears only with Method E. The system adds the 
values in this field, the Estimate to Complete Units fields, and Unit Rate field to the Actual Units and Actual Amounts fields to determine the 
estimate total (projected final values). The system updates the Projected Final Amounts (HA) and Projected Final Units (HU) ledgers.   o  
Estimate Total Amounts. This field appears only with Method E. The values in this field are the projected final values. The system updates the 
Projected Final Amounts (HA) and Projected Final Units (HU) ledgers.

Related Functions

None

Related Tables

None