FunctionType

AndreaF
Contributor III

Hi,

when creating a Finance business rule, the proposed business rule template has a Main public function and a "Select case api.FunctionType" in it.

 

What is a FinanceFunctionType? And if I want to be able to call the business rule from a Data management step (execute business rule step), within which FinanceFunctionType should the code to execute be included?

 

Thank you

1 ACCEPTED SOLUTION

If you are planning to run a finance business rule then you need to use DM custom calculate and financeFunctiontype.customcalculate.

If you are using execute business rule then it is going to be an Extender rule.

View solution in original post

3 REPLIES 3

If you are planning to run a finance business rule then you need to use DM custom calculate and financeFunctiontype.customcalculate.

If you are using execute business rule then it is going to be an Extender rule.

TonyToniTone
Contributor II

The Design and Reference Guide provides detail on what a Finance Function Type is and the different types of Finance Function Types 

Design and Reference/Financial Model Guides/Finance Function Types.htm

In order for many of the Finance Function Types to execute, the Finance Business Rule needs to be assigned to the Cube under Cube > Cube Properties > Business Rules.  This will execute upon running the calculation sequence associated to a Cube(s).  As mentioned by ckattookaran, the CustomCalculate Finance Function Type executes differently.  This Finance Function Type is not considered during the Cube execution.  The logic for the CustomCalculate Finance Function Type is created in a Finance Business Rule.  However, the function is executed through a Data Management Custom Calculate step.  It is here where you define the Finance Business Rule where the Custom Calculate function is located, define the Custom Calculate Function name, and any parameters to be passed during execution.  

Thank you for your reply. I will definitely have a look to the Design and Reference Guide to deepen the topic.