You are here: Transaction Rules > Transaction Elements > Math Element > MathStatement

Oracle® Insurance XML Configuration Guide Release 9.4.1.0 E23637_01

# MathStatement

## Description

A MathStatement is a type of hybrid function that can be used to find last known fund prices or the next exchange date fund price when calculating valuation units and amounts to write during assignment processing.

The FindNextExchangeDatePricing function will allow the system to look backwards to get the last known prices and dates to be used in the calculations as currently calculated by the Math expression “Valuation:Policy:CashValue”.

The FindLastExchangeDatePricingfunction returns the same exchange date outputs as the FindNextExchangeDatePricing function does and tells Assignment to use the last known price date for each fund with no offsets applied.

In order to process unit linked funds, assignment will require that one of these functions exist in Math.

## FindNextExchangeDatePricing

Element | Attribute Value | Element Value | Definition
--- | --- | --- | ---
<Math> |  |  |
<MathVariables> |  |  |
<MathStatement> |  |  | Math element executing predefined function code.
TYPE | ActivityFunction – Literal value only |
FUNCTIONNAME | FindNextExchangeDatePricing Literal value only | Name of Statement Function
<Parameters> |  |  |
<Parameter> | NAME TYPE | Predefined MathVariable Name ExchangeDateOffset - Literal value only INPUT | Integer: Optional input of the offset. Defined input name. Function parameter type: Input/Output
<Parameter> | NAME TYPE | Predefined MathVariable Name GuaranteedExchangeDate - Literal value only OUTPUT | Date: Optional output of the guaranteed exchange date for use in activity math. Defined output name. Function parameter type: Input/Output
<Parameter> | NAME TYPE | Predefined MathVariable Name GainLossExchangeDate - Literal value only OUTPUT | Date: Optional output of the guaranteed gail/loss exchange date for use in activity math. Defined output name. Function parameter type: Input/Output
<Parameter> | NAME TYPE | Predefined MathVariable Name RatesExist - Literal value only OUTPUT | Date: Optional output of the rates that exist. Defined output name. Function parameter type: Input/Output

## XML Example

    <MathStatement TYPE="ACTIVITYFUNCTION" FUNCTIONNAME="FindNextExchangeDatePricing">

         <Parameters>

              <Parameter NAME="ExchangeDateOffset" TYPE="INPUT">InputOffset</Parameter>

              <Parameter NAME="GuaranteedExchangeDate" TYPE="OUTPUT">CurrencyExchangeDate</Parameter>

              <Parameter NAME="GainLossExchangeDate" TYPE="OUTPUT">GainLossCurrencyExchangeDate</Parameter>

              <Parameter NAME="RatesExist" TYPE="OUTPUT">RatesExist</Parameter>

         </Parameters>

    </MathStatement>

## FindLastExchangeDatePricing MathStatement

Element | Attribute Value | Element Value | Definition
--- | --- | --- | ---
<Math> |  |  |
<MathVariables> |  |  |
<MathStatement> |  |  | Math element executing predefined function code.
| TYPE | ActivityFunction – Literal value only |
| FUNCTIONNAME | FindLastExchangeDatePricing Literal value only | Name of Statement Function
<Parameters> |  |  |
<Parameter> | NAME TYPE | Predefined MathVariable Name GuaranteedExchangeDate - Literal value only OUTPUT | Date: Optional output of the guaranteed exchange date for use in activity math. Defined output name. Function parameter type: Input/Output
<Parameter> | NAME TYPE | Predefined MathVariable Name GainLossExchangeDate - Literal value only OUTPUT | Date: Optional output of the guaranteed gail/loss exchange date for use in activity math. Defined output name. Function parameter type: Input/Output

## XML Example

    <MathStatement TYPE="ACTIVITYFUNCTION" FUNCTIONNAME="FindLastExchangeDatePricing">

         <Parameters>

              <Parameter NAME="GuaranteedExchangeDate" TYPE="OUTPUT">CurrencyExchangeDate</Parameter>

              <Parameter NAME="GainLossExchangeDate" TYPE="OUTPUT">GainLossCurrencyExchangeDate</Parameter>

         </Parameters>

    </MathStatement>

Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices

Open table of contents