Article Details
Id:14652
Product:finPOWER Connect
Type:NEW
Version:3.00.06
Opened:13/06/2017
Closed:14/06/2017
Released:29/06/2017
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.