NEW2.03.00 · Released 9 July 2015
NEWfinPOWER Connect
Released in
2.03.00
9 July 2015
  1. Opened13 May
  2. Closed18 Jun
  3. Released9 Jul
Article 12968 Job J015452

Account and Client Logs; new Event script for Save events

Account and Client Logs have a new script event. This allows the script to tweak properties in the "SavePre" event, and even cancel the Save. The Post events allow you to implement additional functionality such as updating a third party CRM system.

To use, firstly create a new script, Type="Object Events", Object="AccountLog" or "ClientLog". Paste the template code into the Script code. The configure Global Settings to link to this script.

Events include:

SavePre

Runs at the start of Save. Return False to cancel.

SavePostInTransaction

Runs during Save, after work has been completed but before the Database Transaction is committed. Use to implement additional functionality that must be part of the overall Save.

SavePost

Runs at the end of Save. Since the Database Transaction is complete use with caution. Any failure here will not affect the overall Save.