Math Overview

The Policy Administration System math elements provide the ability to perform complex calculations, conditional execution, and iteration of business logic to support client requirements. These elements include:

The linked topics explain the XML syntax for each element. The math elements can be nested to compute complex calculations as needed. The XML example below was extracted from a transaction to illustrate one possible logical XML code structure. Note that this example represents the <Math> element as it might appear in a Transaction, Function, or CopyBook element, not in a ScreenMath element (for more information, see ScreenMath).

For additional information about configuring math elements, refer to General Structure and Best Practices. Also, see Math Currency Requirements for information about configuring currencies within math variables and expressions.

XML Example

<Math>
<MathVariables>
<MathVariable VARIABLENAME="ActualEndOfMonthDateMV" TYPE="FIELD" DATATYPE="DATE">Activity:ActualEndOfMonthDate</MathVariable>
<MathLoop VARIABLENAME="Segments" TYPE="SEGMENT" POLICY="[Policy:PolicyGUID]">
<MathVariable VARIABLENAME="Segments_index" TYPE="LOOPINDEX" SOURCEARRAY="Segments" DATATYPE="INTEGER"></MathVariable>
<MathIF IF="TypeCodeMV &lt;&gt; '05'">
<MathIF IF="TypeCodeMV = '60'">
<MathIF IF="RemainingPremiumRetrieved=False">
<MathVariable VARIABLENAME="RemainingPremiumRetrieved" TYPE="VALUE" DATATYPE="INTEGER">1</MathVariable>
</MathIF>
<MathVariable VARIABLENAME="GMDBOptionMV" TYPE="SEGMENTFIELD" SOURCEARRAY="Segments" DATATYPE="TEXT">GMDBOption</MathVariable>
</MathIF>
</MathIF>
</MathLoop>
<MathVariable VARIABLENAME="NextMonthEndProcessDate" TYPE="FUNCTIONCALL" FUNCTIONNAME="Function-NYOKWithDirection" DATATYPE="DATE">
<Parameters>
<Parameter NAME="pTrialDate">NextActualMonthEndDate</Parameter>
<Parameter NAME="pDirection">Next</Parameter>
</Parameters>
</MathVariable>
</MathVariables>
</Math>

 

 

 

 

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