Article Details
Id:19769
Product:finPOWER Connect
Type:NEW
Version:4.00.01
Opened:16/08/2022
Closed:30/11/2022
Released:20/03/2023
Job: J029385

Business Layer; New function to return a list of Accounts given a Bank Transaction Match

There is a new function to return a list of Accounts that match the specified Bank Transaction Match text.

The function is finAccountFunctions.GetBankMatchAccounts.

Parameters include:

  • match
    • Text to search for.
  • AccountIds
    • Returns an ISList containing the list of Account Ids found.
  • bankAccountPk
    • Bank Account Pk to limit results. Optional, default is 0.
  • includeClosedAccounts
    • Indicates whether to include Closed and Closed Pending Accounts. Optional, default is False.
  • daysLimit
    • Indicates the number of days to search backwards for. 0 indicates no limit. Optional, default is 180 days.

Note, Accounts are ordered from most recent to oldest use of the specified Bank Transaction Match.

Sample code is shown below:

Success = finBL.AccountFunctions.GetBankMatchAccounts("match", List)