Group: Forum Members
Posts: 524,
Visits: 30K
|
It all looked so easy in class - but of course the devil is in the details.
Right now I'm trying to figure out the best way to have a form show a browse dialog when it first comes up, with no data yet loaded (except for whatever might be necessary for parameters)
Then one parent record is selected from the browse results and the stored proc is called. I want this stored proc to fill all the BOs for a form showing a single parent record and listviews giving access to multiple children.
Trying to clarify my thinking about the parent bizobj here. Seems I need the new advanced browse dialog and then a separate BO for the parent that will hold one record after the user picks the parent in the browse dialog results. The browse dialog has its own logic for building the select to get the records of which the user will pick one and the stored proc will pull based on pk only for one parent record and related children.
Two questions for anyone reading along :
What is the best way to have the browse dialog show until a record is chosen and then switch to a page of fields for that single selected parent record and possibly listviews for children etc
Am I correct in thinking about two BOs for the parent - one for the browse dialog and one for the single selected record that comes back from the browse.
|