Article Details
Id:17316
Product:finPOWER Connect
Type:FIX
Version:3.03.03
Opened:24/08/2020
Closed:24/08/2020
Released:01/10/2020
Job: J024891

finAccountFunctions.LogAdd() ignored "Source" parameter; LogAdd2() added

The existing LogAdd() function in finAccountFunctions accepted Source as an optional parameter. This was incorrectly defined as an Integer, but was also ignored resulting in all Account Logs generated from this Function having a Source of "Unknown".

This function has been obsoleted, and has been replaced with finAccountFunctions.LogAdd2(). This also accepts Source as an optional parameter (but expects an isefinLogSource value rather than an Integer) and will use the value provided.

When compiling any Scripts which use the old function, the following warning message will be displayed in the compile information window:

  • Consider using LogAdd2 instead as source will always be 'Unknown' if using LogAdd.