Article Details
Id: | 17246 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 3.03.03 |
Opened: | 30/07/2020 |
Closed: | 31/07/2020 |
Released: | 01/10/2020 |
Job: | J024741 |
Comprehensive Credit Report Export; new Validate script event
A new "ExportValidate" script event has been added to Comprehensive Credit Report Exports.
This runs immediately prior to a new Export to allow customised validation of the data.
The script can return the following:
- Return False and set error to fail validation.
- Return True to continue.
- Return True with one or more items in ConfirmationQuestions to confirm whether to proceed.
- ConfirmationQuestions is an ISList object
- If one item is in the list this is treated as simple text, potentially with multi-lines
- If more than one item is in the list the message displayed to the user has a heading "Please confirm the following:" followed by a numbered list, and finally "Continue Export?".
The new validate script is encapsulated in finCreditReportGenerate.ExportValidate - so could be used directly if required.