NEW2.00.01 · Released 20 November 2013
NEWfinPOWER Connect
Released in
2.00.01
20 November 2013
  1. Opened5 Nov
  2. Closed19 Nov
  3. Released20 Nov
Article 11497 Job J012465

Business Layer; Add GetAvailableCredit function to finAccount

A new function GetAvailableCredit has been added to finAccount in the finPOWER Connect Business Layer.

This allows a quick and easy way to get the Available Credit from an Account, optionally as at a date. This function includes two import parameters, dateAsAt and includeAll, an explanation is noted below.

If dateAsAt = Nothing
Credit Limit as at Today
Balance including ALL transactions
ALL Pending Withdrawals that are still "Pending"
ALL funds that aren't cleared today, including future payments

If dateAsAt specified, includeAll is True
Credit Limit as at date
Balance including ALL transactions
ALL Pending Withdrawals that are still "Pending"
ALL funds that aren't cleared today, including future payments

If dateAsAt specified, includeAll is False
Credit Limit as at date
Balance as at date
Pending Withdrawals pending on that date
Funds that aren't cleared today - would exclude future transactions as not in balance

The Account Withdrawal and Transfer wizards as well as Account Warnings now use this function to calculate the Available Credit.