Math Update

MathUpdate is a unique operation that allows a math variable to update a policy or segment field value held in memory when an activity processes. It resides inside transaction math much like MathIF and MathLoop. This math variable is similar to the CopyToPolicyFields or CopyToSegmentFields attached rules, except that it does not actually update database values.

The MathUpdate element in transaction math indicates an activity that processes projections. The actual results of projection processing are maintained in memory only, and no database contents are modified.

MathUpdate leverages the input context for activity processing. This input context is also used by CopyTo rules to retrieve the original values of fields. A CopyTo will not create an update for the field if the newValue and the oldValue are equal.

If MathUpdate updates a field which is also a target in a CopyTo, MathUpdate needs to set the original value in the input context before math processing completes.

Important   It is not recommended to use MathUpdate on transactions that have attached business rules. Using MathUpdate with attached business rules can affect data persisted in the database.

Math Update Math Variable in Palette Window

Math Update Math Variable in Palette

Define the Math Update Math Variable

Drag and drop the Math Update math variable from the Palette window onto the Math Pane. Enter the following information for the math variable.

Note: The Debugger does not display the values of MathUpdate variables or the field itself.

Check-in the transaction to save the information to the database.

     
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. About Oracle Insurance | Contact Us