Creating Database Mobile Business Objects

Goal: Create two mobile business objects, each from a database object.

Prerequisites

Complete Creating the sampledb Connection Profileand Creating the SUP101 Mobile Application Project.

Task
  1. Open the SUP101 mobile application project if it is not already open:
    In WorkSpace Navigator, right-click on the SUP101 folder and select Open in Diagram Editor.
  2. In the Enterprise Explorer, expand the Database folder, right-click sampledb, and select Connect, if not already connected. Enter SQL as the password if prompted.
  3. Expand the sampledb database, then expand the Tables folder.
  4. Select the customer table, while holding the mouse button drag the customer table onto the Mobile Application Diagram.

    The Quick Create wizard launches.

  5. In the Quick Create wizard, accept the defaults and click OK.

    customer_quick_create
  6. Create another MBO from the sales_order table:
    1. Drag the sales_order table from Enterprise Explorer, and drop it onto the Mobile Application Diagram.
    2. In the Quick Create wizard, accept the defaults and click OK.
      The customer and sales_order MBOs display on the Mobile Application Diagram.



  7. Select File > Save.