ParentRelationship property of BO


Author
Message
Scott
Scott
StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)StrataFrame User (270 reputation)
Group: Forum Members
Posts: 176, Visits: 1.5K
Once the ParentRelationship property of a BO is set you can still use the BO independently,  right?  It only comes into play once you set the ParentBusinessObject property on the instance of the BO on that form (or if done with code)?

I have a one to many relationship, Quotes and QuoteDetails.  On the quotes form I am displaying the basic quote information along with a listview of all the quote details.  I have a quotebo and a qdetailbo on the form.  This is all working great.  I want to allow the user to click on a line item and have a quote detail form to allow changes,  can this same qdetailbo be used?  Any best practice recommendations?

Reply
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
There is now an update available from the My Account area of the website.  The update includes some enhancements and improvements to the framework as well as a ChildFormDialog sample. 

I hope this helps you get going.  In the sample you will also see an advanced ListView population method which uses an already populated business object by using the CopyDataFrom() method.

You MUST allow the databases to update when loading the new installation because a new table was added to the sample to show a simplified version of the ChildFormDialog control.  Let me know if you have any questions.  Thanks!Wink

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search