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

Interest Payouts; added script events

Account Interest Payout wizard now includes scripting events.

A script of type "Object Events", object "AccountInterestPayouts" should be created to handle events. After a script has been created, it must be configured under Global Settings, Accounts, Scripts page, "AccountInterestPayouts" event script.

The script can handle the following events:

RefreshPre

Runs at the start of the Refresh, when the Collection is about to be loaded. Return False, with an error message, to cancel the Refresh.

RefreshPost

Runs at the end of the Refresh, when the Collection has been loaded. Use to adjust the "Payout" value.

ExecuteCommitPre

Runs at the start of Execute Commit and can be used to validate and tweak values. Return False, with an error message, to cancel the Commit.

ExecuteCommitPost

Runs during Execute Commit, after work has been completed.

The following standard Summary Page blocks have been updated:

  • AccountInterestPayout_Summary
    • Version 1.01, Last updated 20/01/2021