Article Details
Id:8640
Product:finPOWER
Type:NEW
Version:5.07.33
Opened:31/03/2011
Closed:01/04/2011
Released:03/05/2011
Job: J007184

Close Deposit wizard; script can now cancel the close process

Closing a Deposit can now be cancelled via the "Close Fees and Interest Script" defined on the Deposit Type, Fees tab.

In the Close Deposit wizard after clicking Next on the first page the script is run.

At this point if the script errors the Close wizard will now report the error and stop the wizard progressing. Previously errors were ignored.

If the script returns Main as False the wizard will not progress. You should us finBL.SetErrorMessage to define the message displayed to the user.

Note, existing Close Deposit scripts that do not set Main = True will now stop the Close Deposit wizard from proceeding. You will have to change the script to include the line "Main = True".