Article Details
Id:12968
Product:finPOWER Connect
Type:NEW
Version:2.03.00
Opened:13/05/2015
Closed:18/06/2015
Released:09/07/2015
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.