Article Details
Id:14617
Product:finPOWER Connect
Type:NEW
Version:3.00.06
Opened:06/06/2017
Closed:06/06/2017
Released:29/06/2017
Job: J019120

Loan Account; new Comparison Rate Type of "Custom"

A new Loan Account Comparison Rate Type of "Custom" has been added.

This will bypass internal calculations and must therefore be set by a script.

Sample script code is shown below:

Case "CalculateComparisonRate"
  ' Runs prior to a Comparison Rate being calculated
  AccountCalc = DirectCast(source, finAccountCalc)

  With AccountCalc.ComparisonRateCalc
    .ComparisonRateType = isefinAccountCalcComparisonRateType.Custom
    .InterestRate = 23.4567
  End With

Note, if the Comparison Rate Type is not Custom, the Rate cannot be set.