Selecting the Operations tab in the Scenario Area and clicking the CustomerSession button brings up the following panel (named CustomerSessionPanel) for customer identification:
Type a customer ID and click Search. This launches the operation named customerSessionClientOp, which executes the customerSessionServerOp operation on the server. This operation runs SendHostStep to retrieve the customer information from the host. In this sample, the response includes the CustomerName and an Account Number list, which are displayed in the next view.
The following is the main view, AccountOperationView:
To begin navigating through the view, select a value in the Select Account Number comboBox. When an element is selected, the Account Statement pushbutton is enabled. When this button is clicked, the operation accountStatementClientOp is executed and asks the host for the Account Statement.
The result is displayed in the following view, AccountStatementView:
The next information displayed is a table with the fields Date, Description, Amount, and Account Balance. After viewing the desired information, click Previous. The Navigation Controller closes this view and returns to the Account Operations view.
The Withdrawal and Deposit buttons that execute the corresponding operations are only enabled when the Amount text field is filled in, as shown in the following image: