Work Order BOworkorderindex (pk)workorderidpartindex (fk)Parts BOpartindex (pk)partnumunitindex (fk)Units BOunitindex (pk)unitdesc
The grid will display workorderid, partnum, unitdesc. With only the BOs, their corresponding BBSs and a DevEx Grid, can this be done? If so, how?
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). The Units BO is the kicker.
Hoping someone in the SF community will have run into this issue and will be able to shine some light on this. Please note that I do not want to resort to SQL script here. I can certainly create a data query and pass the results to the grid and bypass the BOs altogether. That is not what I want to do. I have some custom properties that are showing up in the grid from the Work Order BO that I must have. These will be lost if I bypass the BOs.
Thanks,Bill
Take a look at the Movie Profile Report under the StrataFlix.Reporting project. The Movies BO has Images, Cast, and Items as children 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.
For a grandchild record, you would just go one level deeper and expose the grandchild BBS as a public property on the child BO.
Does that sound more like what you are looking for?
It does. I have downloaded the sample app and the newest posting of the framework. I have 1.6.6, but it is not the most recent beta version. As soon as I can get these things installed and built, I will review the sample app. Hopefully, this will provide what I am looking for.
Thanks!Bill
Solution: For some reason StrataFlix.Base was set as the startup project. I changed it to StrataFlix (first project in the list) and everything worked after that.
Now, I will start digging into the custom BBS examples.