Article Details
Id:13579
Product:finPOWER Connect
Type:NEW
Version:3.00.00
Opened:05/02/2016
Closed:09/02/2016
Released:06/07/2016
Job: J016882

finAccountTypeRO object, add RateTables collection

The finPOWER Connect Business Layer object finAccountTypeRO has been enhanced with a new collection of Rate Tables.

The collection only includes Rate Tables that are used, i.e. available, on the Account Type.

Sample code is shown below:

Dim AccountType As finAccountTypeRO
Dim AccountTypeRateTable As finAccountTypeRateTableRO

For Each AccountType In finBL.AccountTypes
  finBL.DebugPrint(AccountType.AccountTypeId)
    
  For Each AccountTypeRateTable In AccountType.RateTables
    finBL.DebugPrint(AccountTypeRateTable.RateTableId)
  Next  
      
  finBL.DebugPrint("")
Next

Note, this information was available in another form via the AvailableRateTablePks and AvailableStartupRateTablePks properties.