Article Details
Id: | 14695 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.00.07 |
Opened: | 03/07/2017 |
Closed: | 04/07/2017 |
Released: | 18/08/2017 |
Job: | J019262 |
Pools; new scripting events for use in Save
A new script can be defined to run when a Pool is saved.
The script is defined under Global Settings, Accounts group, Scripts page under the "Pool" event. The script itself should be created as an "Object Events" type for object "Pool".
The following events are trapped:
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.