Once you have created the database applications, you must link the SOCreate and SOCreateItem update applications to the SO List master application.
Linking the update applications to the master
application
In Applications | Approved, select the SOList application, and click Edit.
In the Application Builder, click Properties.
In the Properties Editor window, click the Mobile tab.
Under Linked Applications, click Add.
In the Find Application window, click Search.
From the Results pane, select the SOCreate application, and click Add.
You return to the Properties Editor window, where you see the SOCreate application listed as a linked application. Verfiy that the SOCreate application has these settings:
Action Type – Insert
Menu Level – 1
Link the SOItemCreate application using the same procedure shown in steps 4 – 6. When you return to the Properties Editor window, verify the SOItemCreate application has these settings:
Action Type – Insert
Menu Level – 2
Click OK.
In the Application Builder, click Save.
Click Close in the upper-right corner of the Application Builder.
Creating an event for
SOList
In this procedure, create an event that links the ID column of the SOList master application to the SOItemList application.
From Mobile Web Studio, select Applications from the Build menu in the left pane, and select Approved under Application Manager.
From the list of approved applications that displays in the detail pane, right-click SOList and select Define Events.
The Define Click-Across Events window appears showing a grid with four columns.
Click Select to the left of the grid, then click Next.
The Preview window displays.
Look for the Assign an Event section of the window, and create a server-side event that associates the cells in column 1 (ID) with the SOItemList application. To do so, make these changes (accept defaults for all others):
Row – enter all
to
place the event on the header as well as the records.
Column – enter 1
to
indicate only column 1 (ID) is included.
Event Name – enter SalesOrderID
.
This event name is used as the parameter name by the target application.
Multi-value – leave unselected.
Client-side – leave unselected.
Click Find Application to open the Search window. Click Search.
In the Results pane, select the SOItemList application and click Add. This forms the event association between the SOList application and the SOItemList application.
The Search window closes, and the application details are displayed.
In the Assign An Event section, click Add. The values in column 1 are highlighted, and the event definition displays under Current Assigned Events.
Click Next.
From the Preview window, click Finish.
Close the window to exit.