Article Details
Id: | 9733 |
Product: | finPOWER Connect |
Type: | NEW |
Version: | 1.04.05 |
Opened: | 22/02/2012 |
Closed: | 28/02/2012 |
Released: | 02/03/2012 |
Job: | J009047 |
Wizard Validator Script added for Account Payment Arrangement Add wizard
The Account Payment Arrangement Add wizard now supports a Wizard Validator Script.
The Script is defined under Global Settings, Accounts, Scripts.
Sample Validator code.
' Handle Events
Select Case eventId
Case "TargetObjectChange"
' Defaults
AccountPayArrangementAdd.LogCreate = True
Case "PageValidate"
Select Case pageId
Case "Account"
If Not AccountPayArrangementAdd.LogCreate Then
outcome = isefinDecisionOutcomeStatus.Fail
outcomeMessage = "You must create a Log to record this Payment Arrangement."
End If
End Select
End Select