Article Details
Product:finPOWER Connect
Job: J019161

Business Layer; added finAccount.GetTransactionCount function

A new Business Layer function has been added to finAccount, GetTransactionCount.

This provides an optimised way of getting a count of Transactions for the Account. This can then be used by the User Interface to decide whether to load all Transactions or provide a different, e.g. paged, interface.

The function has two parameters that limit the count

  • IncludeReversed; determines whether to include reversed non-Bank Transactions in the Count.
  • IncludeZeroValue; determines whether to include Zero value Transactions, e.g. Payment Due, in the Count.

Note; if Transactions are already loaded the Transactions collection is used, otherwise a database query is used to get the count.