Article Details
Id:18102
Product:finPOWER Connect
Type:NEW
Version:3.04.00
Opened:20/04/2021
Closed:21/04/2021
Released:30/06/2021
Job: J026398

Account Maturity Date Changes; added Script events to handle additional processing requirements

The Account Maturity Date Change object has new script events to handle additional processing requirements.

A script of type "Object Events", object "AccountMaturityDateChange" should be created to handle Maturity Date change events. After a script has been created, it must be linked to an Account Type on the Scripts page, "MaturityDateChange" Event script.

Note, this script is available for Deposit and Revolving Credit Loan Account Types.

The script can handle four 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.

ExecuteCommitPreInTransaction

Runs during ExecuteCommit, after a Database Transaction has begun but before any work has started. It can be used much like the ExecuteCommitPre event.

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.

ExecuteCommitPost

Runs at the end of ExecuteCommit. Since the Database Transaction is complete use with caution. Any failure here will not affect the overall Commit. If it fails the ExecuteCommit function returns a warning and this is displayed in the wizard.

Note, in addition a new "Tag" property has been added to the finAccountMaturityDateChange object. This could be used to communicate extra information, especially from an HTML Widget, to the ExecuteCommit function.

The following HTML Widget has been updated:

  • HtmlWidget_AccountMaturityDateChange
    • Version: 1.04 (21/04/2021)