﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Using Multiple BOs and BBSs in a DevEx Grid</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 08:34:01 GMT</lastBuildDate><ttl>20</ttl><item><title>Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18139.aspx</link><description>The BOs are defined.&amp;nbsp; Relations exist.&amp;nbsp; The user wants a form that simply displays data from the BOs.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;U&gt;Work Order BO&lt;/U&gt;&lt;BR&gt;workorderindex (pk)&lt;BR&gt;workorderid&lt;BR&gt;partindex (fk)&lt;BR&gt;&lt;BR&gt;&lt;U&gt;Parts BO&lt;/U&gt;&lt;BR&gt;partindex (pk)&lt;BR&gt;partnum&lt;BR&gt;unitindex (fk)&lt;BR&gt;&lt;BR&gt;&lt;U&gt;Units BO&lt;/U&gt;&lt;BR&gt;unitindex (pk)&lt;BR&gt;unitdesc&lt;/P&gt;&lt;P&gt;The grid will display workorderid, partnum, unitdesc.&amp;nbsp; With only the BOs, their corresponding BBSs and a DevEx Grid, can this be done?&amp;nbsp; If so, how?&lt;/P&gt;&lt;P&gt;I can easily get the Work Order BO and the Parts BO to display everything I need (employing the appropriate repository controls in the grid).&amp;nbsp; The Units BO is the kicker.&lt;/P&gt;&lt;P&gt;Hoping someone in the SF community will have run into this issue and will be able to shine some light on this.&amp;nbsp; Please note that I do not want to resort to SQL script here.&amp;nbsp; I can certainly create a data query and pass the results to the grid and bypass the BOs altogether.&amp;nbsp; That is not what I want to do.&amp;nbsp; I have some custom properties that are showing up in the grid from the Work Order BO that I must have.&amp;nbsp; These will be lost if I bypass the BOs.&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR&gt;Bill</description><pubDate>Tue, 29 Jul 2008 14:51:05 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18201.aspx</link><description>That is stored on a per machine basis as part of the solution.&amp;nbsp; This is just .NET.</description><pubDate>Tue, 29 Jul 2008 14:51:05 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18200.aspx</link><description>Error encountered: &lt;BR&gt;A project with&amp;nbsp;an Output Type of Class Library cannot be started directly.&lt;BR&gt;In order to debug this project, add an executable project to this solution which references the library project.&amp;nbsp; Set the executable project as the startup project.&lt;/P&gt;&lt;P&gt;Solution:&amp;nbsp; &lt;BR&gt;For some reason StrataFlix.Base was set as the startup project.&amp;nbsp; I changed it to StrataFlix (first project in the list) and everything worked after that.&lt;/P&gt;&lt;P&gt;Now, I will start digging into the custom BBS examples.</description><pubDate>Tue, 29 Jul 2008 14:39:30 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18194.aspx</link><description>[quote]Does that sound more like what you are looking for?[/quote]&lt;/P&gt;&lt;P&gt;It does.&amp;nbsp; I have downloaded the sample app and the newest posting of the framework.&amp;nbsp; I have 1.6.6, but it is not the most recent beta version.&amp;nbsp; As soon as I can get these things installed and built, I will review the sample app.&amp;nbsp; Hopefully, this will provide what I am looking for.&lt;/P&gt;&lt;P&gt;Thanks!&lt;BR&gt;Bill</description><pubDate>Tue, 29 Jul 2008 10:44:29 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18189.aspx</link><description>You will want to take Dustin's advice on this one.&amp;nbsp; This will give you what you are trying to accomplish.</description><pubDate>Tue, 29 Jul 2008 10:24:25 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18188.aspx</link><description>Ok, what about using custum business binding sources to expose the children BOs themselves as properties on the parent BO? This is the same way we do reporting, and there is an example of how to set this up within the new StrataFlix sample that Trent just posted: &lt;A href="http://forum.strataframe.net/Topic18186-17-1.aspx"&gt;http://forum.strataframe.net/Topic18186-17-1.aspx&lt;/A&gt;&lt;P&gt;Take a look at the Movie Profile Report under the StrataFlix.Reporting project.&amp;nbsp; The Movies BO has Images, Cast, and Items as children&amp;nbsp;all declared as public properties. Notice that you are talking to the business binding source for each child BO rather than the BO itself. You aren't pulling in the individual fields into the parent BO (i.e. the solution I suggested earlier), but are instead exposing the children BOs themselves. &lt;/P&gt;&lt;P&gt;For&amp;nbsp;a grandchild record, you would just go one level deeper and expose the grandchild BBS as a public property on the child BO. &lt;/P&gt;&lt;P&gt;Does that sound more like what you are looking for?</description><pubDate>Tue, 29 Jul 2008 10:17:17 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18184.aspx</link><description>Bill, &lt;br&gt;
&lt;br&gt;
OK, so the BBS needs to have a strong typed property to work...didn't know that. &lt;br&gt;
&lt;br&gt;
However, you might want to consider a ListView instead, since the data is readonly. In this case, you don't need strong typed properties, just columns in the underlying data table (they must be aliased in SQL though).  You might have set up the population setting via code, but it works...I'm using heavily in a custom search form I use. In my case, I'm allowing the user to search on not just the base table, but also on values in a parent table and/or other FK tables. E.g. in your case, this would allow the user to search on unit description to retrieve a work order. I build the list view based on columns in the data table.  You just need to alias all the columns in SQL. I don't think you can set this up via the designer, as it will only show you the strongly typed properties.  &lt;br&gt;
&lt;br&gt;
Of course, if you need to pump out reports, then you may be back to a grid....which means either adding the custom properties to the appropriate BO or creating a special BO based on a view.  You may find that the custom properties are the way to go, as they might have other uses.  If you use them, you'd just need to add these columns to your fill methods, then access the extra columns in you properties. There are lots of good posts on this out there.&lt;br&gt;
&lt;br&gt;
Hope that helps! :D</description><pubDate>Tue, 29 Jul 2008 10:03:01 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18179.aspx</link><description>Dustin,&lt;/P&gt;&lt;P&gt;Much appreciated response!&amp;nbsp; I do not want to "complicate" things by adding custom properties to the first BO which reflect the already existing properties of the second and third BO.&amp;nbsp;&amp;nbsp;I think that I&amp;nbsp;may be trying to do something with business objects that they were not intended to do.&amp;nbsp; In other words, I cannot "query" (derive a table from)&amp;nbsp;the business objects...I need to go back to the source DB for that.&lt;/P&gt;&lt;P&gt;Bill</description><pubDate>Tue, 29 Jul 2008 09:34:11 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18178.aspx</link><description>Sorry.&amp;nbsp; My communication skills do lack.&amp;nbsp; Getting what is in my brain onto paper has always been difficult.&amp;nbsp; I apologize in advance if I sound like I am repeating myself.&lt;/P&gt;&lt;P&gt;The grid is going to be read-only.&amp;nbsp; The user just wants to view the data (and I may whip out a report or two from the grid).&amp;nbsp; I am trying to get fields from&amp;nbsp;three tables into one table-like presentation to the user.&amp;nbsp; Since the three BOs already exist, I&amp;nbsp;was hoping to utilize some functionality there.&amp;nbsp; Since relations exist, couldn't I somehow derive a table from the three BOs&amp;nbsp;and throw that into the grid?&lt;/P&gt;&lt;P&gt;Just exploring.</description><pubDate>Tue, 29 Jul 2008 09:26:59 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18176.aspx</link><description>One more approach on top of Trent's suggestion is to bring everything into the Work Orders BO. Greg's already hit on this, the only additional thing you would need to do is create public properties and custom bindable property descriptors so that the BBS will recognize those new fields.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As&amp;nbsp;Trent said, however,&amp;nbsp;[b]doing it&amp;nbsp;this way (pulling everything into&amp;nbsp;a single BO) would only work if the data is meant to be read only.[/b] If you want to be able to update the data through the grid, you will need to use Trent's suggestion of the &amp;nbsp;updateable view. &lt;/P&gt;&lt;P&gt;If the grid is read only, and you do want to handle it all via the work orders BO, then your original response to Greg is most of the way there.&amp;nbsp; Once the custom fields are pulled in via your custom query (just like you described in your original reply to Greg), you will need to expose them via public properties on the work order BO:&lt;/P&gt;&lt;P&gt;[codesnippet]#Region " Public Properties "&lt;/P&gt;&lt;P&gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' Part Index (Primary Key)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public ReadOnly Property parts_partindex() As String&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return CType(Me.CurrentRow.Item("parts_partindex"), String)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Property&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' Part Number&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public ReadOnly Property parts_partnum() As String&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return CType(Me.CurrentRow.Item("parts_partnum"), String)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Property&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' Part Unit Index (Foreign Key)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public ReadOnly Property parts_unitindex() As String&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return CType(Me.CurrentRow.Item("parts_unitindex"), String)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Property&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' Unit Index (Primary Key)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public ReadOnly Property units_unitindex() As String&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return CType(Me.CurrentRow.Item("units_unitindex"), String)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Property&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' Unit Description&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;/summary&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;value&amp;gt;&amp;lt;/value&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;returns&amp;gt;&amp;lt;/returns&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''' &amp;lt;remarks&amp;gt;&amp;lt;/remarks&amp;gt;&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Public ReadOnly Property units_unitdesc() As String&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return CType(Me.CurrentRow.Item("units_unitdesc"), String)&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Get&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End Property&lt;/P&gt;&lt;P&gt;#End Region[/codesnippet]&lt;/P&gt;&lt;P&gt;And then provide custom property descriptors on the work order BO to access those custom fields:&lt;/P&gt;&lt;P&gt;[codesnippet]Protected Overrides Function GetCustomBindablePropertyDescriptors() As FieldPropertyDescriptor()&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Return New FieldPropertyDescriptor() { _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New ReflectionPropertyDescriptor("parts_partindex", GetType(WorkOrderBO)), _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New ReflectionPropertyDescriptor("parts_partnum", GetType(WorkOrderBO)), _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New ReflectionPropertyDescriptor("parts_unitindex", GetType(WorkOrderBO)), _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New ReflectionPropertyDescriptor("units_unitindex", GetType(WorkOrderBO)), _&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; New ReflectionPropertyDescriptor("units_unitdesc", GetType(WorkOrderBO))}&lt;BR&gt;End Function[/codesnippet]</description><pubDate>Tue, 29 Jul 2008 09:05:46 GMT</pubDate><dc:creator>Dustin Taylor</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18171.aspx</link><description>[quote]So, I could write something like FillDataTable("SELECT WO.*, Parts.partnum, Units.unitdesc FROM WorkOrders WO&amp;nbsp;LEFT OUTER JOIN...") and these two fields will show up in the BBS?&amp;nbsp; Is that right?&amp;nbsp; If so...my problem might be solved.[/quote]&lt;/P&gt;&lt;P&gt;Actually this isn't far off.&amp;nbsp; There are a couple of things that you may want to consider.&amp;nbsp; First, I more than likely would not be trying to put all 3 tables inside of one grid unless they are all one-to-one relationships.&amp;nbsp; Otherwise this would get really messy.&amp;nbsp; In this case though, you would just want to create an updatable view which pulls this back and would then allow a record set to be updated going back the other way.&amp;nbsp; &lt;/P&gt;&lt;P&gt;What you are trying to accomplish is not outside of the scope of the framework and can be done, but the reason that you have received some of the comments suggesting other mechanisms is because a grid gets really messy when trying to cram all of this into one locale.&amp;nbsp; If this were read-only then it wouldn't be as big of a deal.&amp;nbsp; But in any case, just create an updatable view, then all of your BOs, custom properties, etc. will all work.&amp;nbsp; You can then create a new Custom BBS through the templates which will just side step the need to drop on a separate BBS on the form (same approach that is used for reporting).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt; When creating updatable views, you must still specify a primary key field.&amp;nbsp; To do this, open up the BO Mapper, right-click the BO in question, then open the advanced section.&amp;nbsp; Then override the PK field and specify a PK so that the updates will work properly.</description><pubDate>Tue, 29 Jul 2008 08:55:29 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18165.aspx</link><description>[quote]just create a view (and replicate your custom fields in the view)[/quote]&lt;P&gt;If I create a view (which is what I have always done up to this point...again, I am exploring the business object capabilities), then I also have to create a corresponding BO.&amp;nbsp; This new&amp;nbsp;BO would easily populate the grid that I want.&amp;nbsp; I'll grant that option.&amp;nbsp; It is what I will be doing if no other clever solution comes my way.&lt;P&gt;I'd really like to take existing BOs that can be related to one another and&amp;nbsp;display the flattened view of the data, including any custom properties of any of the BOs.&amp;nbsp; Perhaps this is simply not possible.&amp;nbsp; I am probably attempting something that the framework is not intended to do.</description><pubDate>Tue, 29 Jul 2008 06:46:40 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18157.aspx</link><description>Hi Bill,&lt;/P&gt;&lt;P&gt;Yes, I see now. Personally I would just create a view (and replicate your custom fields in the view)&amp;nbsp;that brings everything together however I'm pretty sure you will see examples of bringing BO's together in this fashion for reporting.&amp;nbsp;Try&amp;nbsp;a forum search on reporting, especially SharpShooter examples.&lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Tue, 29 Jul 2008 00:46:41 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18156.aspx</link><description>One grid.&amp;nbsp; Three BOs.&amp;nbsp; Three BBSs.&amp;nbsp; Just looking for a simple, flattened view of the data.&amp;nbsp; I do not need any of the master-detail type stuff going on in this particular&amp;nbsp;DevEx grid.&lt;/P&gt;&lt;P&gt;Please keep in mind that this is an exercise for the use of SF BOs.&amp;nbsp; If a business object exists, then I should be able to point to its properties.&amp;nbsp; If one of the properties has a relation to another BO, then I should also be able to point to that second BOs properties, too.&amp;nbsp; The fundamental question is, can it be done in a grid format, using it as a table-like representation of the data?&lt;/P&gt;&lt;P&gt;Hope I am making myself clear--doesn't sound like it, though.&amp;nbsp; Holler if anyone needs more clarification.&lt;/P&gt;&lt;P&gt;Bill</description><pubDate>Mon, 28 Jul 2008 23:04:09 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18154.aspx</link><description>Hi Bill,&lt;/P&gt;&lt;P&gt;I may be missing the point but isn't this just three DX grids: Parent, Child and GrandChild using the SF ParentRelationship and ParentBusinessObject properties to bind them together?&lt;/P&gt;&lt;P&gt;Cheers, Peter</description><pubDate>Mon, 28 Jul 2008 22:41:05 GMT</pubDate><dc:creator>Peter Jones</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18149.aspx</link><description>That&amp;nbsp;does not work.&amp;nbsp; The fields come back with blank stares.&amp;nbsp; Kinda creepy.&lt;/P&gt;&lt;P&gt;As I understand it, the BO must have the field defined in order for the BBS to pick it up.&amp;nbsp; It has to be a part of the CurrentDataTable of the BO.&amp;nbsp; That is why I really want to see if this can be down only using currently defined BOs.&amp;nbsp; All of the data I need already exists in these separate&amp;nbsp;BO definitions.&amp;nbsp; They can be instantiated and filled quite quickly.&amp;nbsp; Somehow, I should be able to relate the BOs and point to the field I want to display in the grid.&amp;nbsp; Somehow.&lt;/P&gt;&lt;P&gt;I really do not want to create a custom property in the Work Order BO called UnitDesc.&amp;nbsp; I shudder just thinking about that.&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;BR&gt;Bill</description><pubDate>Mon, 28 Jul 2008 16:17:19 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18148.aspx</link><description>[quote]you could write a fill method in your Work Order BO[/quote]&lt;/P&gt;&lt;P&gt;So, I could write something like FillDataTable("SELECT WO.*, Parts.partnum, Units.unitdesc FROM WorkOrders WO&amp;nbsp;LEFT OUTER JOIN...") and these two fields will show up in the BBS?&amp;nbsp; Is that right?&amp;nbsp; If so...my problem might be solved.&lt;/P&gt;&lt;P&gt;Testing now.</description><pubDate>Mon, 28 Jul 2008 15:56:55 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Using Multiple BOs and BBSs in a DevEx Grid</title><link>http://forum.strataframe.net/FindPost18142.aspx</link><description>Bill,&lt;br&gt;
&lt;br&gt;
If I understand you correctly, you could write a fill method in your Work Order BO that would return the appropriate data (using the appropriate SQL joins to the other tables).  The data table under BO can have any column in it (i.e. there doesn't have to a strongly typed property associated with each column), to the extra data would be available in the underlying datatable.  You would then have your custom properties.  I'm a bit slow to make use of grids, so I'm not sure how the BBS works with a datatable like this, but if the BBS is just binding to the data table, I'd guess that it would work just fine.  &lt;br&gt;
&lt;br&gt;
Hope that sparks some ideas.</description><pubDate>Mon, 28 Jul 2008 15:51:14 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item></channel></rss>