Creating an employee list  Publishing and viewing employeeSales

Chapter 5: Creating a Multipage Mobile Application with Transaction Support

Creating an event for employeeSales

In this step, create an event for the customerOrder application that you created in “Creating a customer list”). The event links the cust_id field in employeeSales to the customerOrder application. The customerOrder application is the linked, or child, application.

StepsCreating an event for employee sales

  1. In Mobile Web Studio, select Applications in the left pane, and Approved in the Application Builder Status menu.

  2. From Application Builder, right-click employeeSales in the detail pane, and select Define Events.

  3. On the Define ClickAcross Events window, click Select next to the grid format, and click Next. The Preview window displays.

  4. In Preview, link cust_id in column 4 to the customerOrder application. Under Assign An Event:

    1. Row – enter all. This places the event on the header as well as the records; alternatively you could enter 2- (a 2 followed by a dash, no space) to indicate every record from 2 to the last record, excluding the header).

    2. Column – enter 4 to indicate column 4 (cust_id).

    3. Event Name – enter cust_id as the event name.

    4. Client-side – uncheck to indicate this is a server-side click-across event.

    5. Click “Find application.” In the Search window, click the Search button, and select the customerOrder application and click Add.

    6. Click Add. Column 4 is now selected and the new rule is added under Current Assigned Events.

  5. Click Next. The Preview window displays.

  6. Click Finish.





Copyright © 2005. Sybase Inc. All rights reserved. Publishing and viewing employeeSales

View this book as PDF