Article Details
Id: | 8639 |
Product: | finPOWER |
Type: | NEW |
Version: | 5.07.33 |
Opened: | 31/03/2011 |
Closed: | 01/04/2011 |
Released: | 03/05/2011 |
Job: | J007185 |
Breaking Change |
Deposit Withdrawal wizard; script can now cancel the withdrawal process
A Deposit Withdrawal can now be cancelled via the "Withdrawal Fee Script" defined on the Deposit Type, Fees tab.
In the Deposit Withdrawal wizard after clicking Next on the first page the script is run.
At this point if the script errors the Withdrawal 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 Deposit Withdrawal scripts that do not set Main = True will now stop the Withdrawal from proceeding. You will have to change the script to include the line "Main = True".