New Suspense Screen Events

JIRA ASJVN-4946 provides test configuration for the issue described in JIRA ASJVN-4930:

”r;<Onchange>/<OnSubmit> logic is not working with <ActionSet> - ACTIONTYPE = " ERROR | WARNING]" when the condition is invoked first time, but second time works”

To test, SuspenseScreen business rule (overridden by Prototype Company) was configured to include OnChange and OnSubmit Events that call on ActionSets, with ACTIONTYPE attributes set to ”r;ERROR” and ”r;WARNING”. ActionSets with Fixed and Dynamic Fields were tested.

OnChange Events

Configuration contains 10 (ten) OnChange Events, testing nine (9) Fixed Fields and 1 (one) Dynamic Field. Each Field is its own trigger, that may invoke corresponding ActionSet. The following is the list of Field / ActionSet / ActionType groups:

Fixed Fields:

FIELD="StatutoryCompany" / ActionSet ID="WrongCompany" / ACTIONTYPE=”ERROR”

FIELD="TypeCode" / ActionSet ID="LockboxDown" / ACTIONTYPE=”ERROR”

FIELD="UniqueID" / ActionSet ID="TestUniqueID" / ACTIONTYPE=”ERROR”

FIELD="FirstName" / ActionSet ID="TestFirstName" / ACTIONTYPE=”ERROR”

FIELD="LastName" / ActionSet ID="TestLastName" / ACTIONTYPE=”ERROR”

FIELD="AccountNumber" / ActionSet ID="TestAccountNumber" / ACTIONTYPE=”ERROR”

FIELD="BankName" / ActionSet ID="TestBankName" / ACTIONTYPE=”ERROR”

FIELD="BankNumber" / ActionSet ID="TestBankNumber" / ACTIONTYPE=”WARNING”

FIELD="CheckNumber" / ActionSet ID="TestCheckNumber" / ACTIONTYPE=”ERROR”

Dynamic Field:

FIELD="GenerateAccounting" / ActionSet ID="Accounting" / ACTIONTYPE=”WARNING”

OnSubmit Event

The one OnSubmit Event (there can only be one on this screen) contains ”r;FinalValidation” ActionSet which checks that specified Fields have non-null values through the use of ”r;IsEmpty()” function. The following Fields are tested: PolicyNumber, FirstName, LastName, BankName, AccountNumber, BankNumber, and CheckNumber.

ActionSets for BankName test generates ”r;WARNING” ACTIONTYPE message. The rest of the ActionSets for the above Fields generate ”r;ERROR” ACTIONTYPE messages.