Article Details
Id:17829
Product:finPOWER Connect
Type:NEW
Version:3.03.05
Opened:01/02/2021
Closed:01/02/2021
Released:25/02/2021
Job: J025894

Process Direct Debit Payments; added "ExecuteCommitPost" script event

A new script event has been added to the Process Direct Debit Payments wizard, "ExecuteCommitPost".

It can be used to implement additional functionality after the Commit. Any failure here will not affect the overall Commit, so you should be careful if your script fails.

Note, the existing "ExecuteCommitPostInTransaction" event is still available. It runs during ExecuteCommit, after work has been completed but before the Database Transaction is committed. It can also be used to implement additional functionality, but where it must be part of the overall Commit - remembering that the overall Database Transaction may roll-back if an error is detected. It is important that this event does not slow the overall process down, otherwise you may get database locking issues, and you should never call external services during a Database Transaction.