Article Details
| Id: | 9703 |
| Product: | finPOWER Connect |
| Type: | NEW |
| Version: | 1.04.05 |
| Opened: | 21/02/2012 |
| Closed: | 23/02/2012 |
| Released: | 02/03/2012 |
| Job: | J009027 |
Wizard Validator Scripts added for Account Transaction Reverse and Bank Transaction Reverse wizards
The Account Transaction Reverse and Bank Transaction Reverse wizards now support Wizard Validator Scripts.
The Scripts are defined under Global Settings, Accounts, Scripts.
Account Payment Reverse
Sample Validator code.
' Handle EventsSelect Case eventIdCase "PageValidate"Select Case pageIdCase "Original"If -AccountPaymentReverse.BankTransactionView.Value > 4.99 Thenoutcome = isefinDecisionOutcomeStatus.FailoutcomeMessage = "You can only reverse payments up to $4.99."End IfEnd SelectEnd Select
Account Transaction Reverse
Sample Validator code.
' Handle EventsSelect Case eventIdCase "PageValidate"Select Case pageIdCase "General"If AccountTransactionReverse.AccountTransaction.Value > 1.5 Thenoutcome = isefinDecisionOutcomeStatus.FailoutcomeMessage = "You can only reverse payments up to $1.50."End IfEnd SelectEnd Select