Previous Topic: Business Logic ProceduresNext Topic: Business Logic Objects


Business Logic Functions

Forecast

If the forecast option is selected in the definition of the metric, this function must be implemented.

When the forecast cycle is run, the calculation engine calls this function instead of the Result function, in order to set the forecast of the calculation.

Example:

Function Forecast
     Forecast=Sum / Count
End Function

Result()

This function must be implemented. The calculation engine calls this function to get the result of a calculation.

The function is always invoked immediately after the call to OnPeriodEnd.

Target

If the current metric’s target is defined as dynamic, this function must be implemented. This function is called after the Result function is called.

Note: This function is not called in the forecast cycle.

Example:

Function Target
   Target=3    
End Function