Article Details
Id: | 15133 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.01.00 |
Opened: | 04/01/2018 |
Closed: | 04/01/2018 |
Released: | 23/02/2018 |
Job: | J020057 |
Account Transaction Allocation Adjustment; new scripting events added
Account Transaction Allocation Adjustment wizard now includes scripting events.
A script of type "Object Events", object "AccountTransactionAdjustment" should be created to handle events. After a script has been created, it must be configured under Global Settings, Accounts, Scripts page, "AccountTransactionAdjustment" event script.
The script can handle two events:
ExecuteCommitPre
Runs at the start of ExecuteCommit and can be used to validate and tweak values. Return False, with an error message, to cancel the Commit.
ExecuteCommitPostInTransaction
Runs during ExecuteCommit, after work has been completed but before the Database Transaction is committed. Use to implement additional functionality that must be part of the overall Commit.