You are here: Configuration > Transactions > Configuration Panes > FunCall

Oracle® Insurance Rules Palette 9.4.1.0 E23637_01

# FunCall

The FunCall math variable allows the system to execute a Function business rule inside the Math. A Function is a rule that calls a calculation routine and houses discrete and logical piece of a calculation. Functions are often selected over CopyBooks for specific calculations because they offer increased readability as the parameters are clearly defined. The Function contains input and output parameters in addition to one return value. The output and return value may be utilized by other math variables and calculations once the Function is executed.

FunCall Math Variable in Palette

Note: For a comprehensive explanation of the characteristics of this math variable, refer to the XML Configuration Guide in the Help menu.

## Define the FunCall Math Variable

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

- Type a name in the Name field. This is required.

- The Data Type must reflect the corresponding data type of the Return value you are assigning to this FunCall math variable. The applicable data type selection is defined as: Activity, Boolean, Date, Decimal, Integer, Map, Object, or Text. This is required.

- Make sure variable type is defined as FunCall. This is required.

- Select Yes or No from Log field. Default is No. This is an optional field.

- Round offers the options of Yes or No. Round is only enabled if you select the Integer or Decimal in the data type property. If you would like to round the Decimal or Integer, select Yes. Enter the number of decimal places to round the result value. Note: When the data type of Decimal or Integer is selected, the default value for Round is set to No. You must change the selection of the radio button to Yes if you wish to round.

- The Functions selection drop down box provides a listing of all configured Function business rules. Select the applicable Function name.

- Input parameters are required to feed or pass into the FunCall. The Parameter Name column has a listing of p Parameter types that must be defined prior to calling the FunCall. The pParameterName is pre-populated with the Parameter column. The corresponding Data Type column is pre-populated. You must designate a previously defined Activity Field or Math variable in the Value column. Only those fields and math variables with the corresponding data type will appear in the drop down selection box. The DataType column has a corresponding list of each data type for the input parameter names listed. By placing the cursor inside the Value column drop down selection boxes, you will be presented with previously defined Math variables with that corresponding data type.

- Output parameters are optional depending how the Function business rule was configured. If the Output Parameters are pre-populated within the Parameter Name and Data Type columns, a Value is Required. The Parameter Name has a list of oOutput Parameter Names and the corresponding Data Type pre-populated in the Data Type column. By placing the cursor inside the Value column drop down selection box, you will be presented with the list of previously defined Math variables with the corresponding Data Type.

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

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