Scenario: Build a smartform view that allows users to search for orders against a data source (SmartObject). Within search results users can select one or more orders and save them into another data source (SmartObject).
Question: What are some of the better implementation patterns for this scenario?
Some options that come to mind are following but I want to make sure there isn't already a better (and easier) way to accomplish this.
Option 1 >
Create a view with the data source to be searched. When user makes the selection within search results in a view, smartform rules are used to call the Save method of the SmartObject representing the second data source.
Option 2 >
Create a view with the data source where orders need to be saved. Add a rule to call the List method on the SmartObject belonging to the data source where search is run.
Option 3 >
Create one view with a subview with each view having SmartObjects of each data source, respectively. Use Data Transfer action to exchange data between forms and save.
Thanks.
Adnan