Id: | 13314 |
Product: | finPOWER Connect |
Type: | FIX |
Version: | 2.03.03 |
Opened: | 16/09/2015 |
Closed: | 16/09/2015 |
Released: | 30/10/2015 |
Job: | J016246 |
finAccountTransactionAdjustment Business Layer object; add optional optimisation to AccountTransactionLoad function
An optional parameter to finAccountTransactionAdjustment.AccountTransactionLoad function has been added for optimisation purposes.
Typically, before creating the finAccountTransactionAdjustment and calling AccountTransactionLoad, a script will already have loaded the Account and its Transactions. This function was reloading the Account and its Transactions again - to validate the information passed to it. For example, the Account needs to be loaded to check if it is still Open, whether Overdues are applicable etc. This means extra work for the database server and network.
There is now an optional parameter "reloadTransactions". This is True by default to maintain backwards compatibility. If False, transactions will not be reloaded - which optimises performance.