The red highlighted line is where the application error with a BusinessLayerException stating the following:
There are no rows in the current data table. An edit is not allowed.
The ChildFormDialog is supposed to take care of passing the BOs to the ChildForm, isn't it? I have the BusinessObjectTranslation setup correctly. My source is the SalesOrder form's SalesOrderDetail BO (mSalesOrderDetails) and the destination is the SalesOrderDetail form's SalesOrderDetail BO (also called mSalesOrderDetails).
Is there something else that I need to do? What am I doing wrong?
Thanks,Bill
I guess the SF developers will have to chime in on this one. I sure hope they are well rested, because we are going to be bombarding them next week!
Thanks for responding, Greg!Bill
I brought my flak jacket, but I'm not sure that's going to be enough
Well, the first thing we need to do is make sure that the translation is happening correctly. So, verity that before the ChildFormDialog.ShowDialog() is called the business object in question (the one you're calling Edit() on) has at least one record. So put a break point on the ShowDialog() line and use the watch window to check the .Count of the business object before it's translated.
Welcome back, Ben! We'll be gentle.
It is 0. Odd. I am using the same BO (I think) to fill the ListView. There are five records in the ListView (Count: 5). Where did they go?
I am suspecting the RowPopulating event...checking now...
Thanks a ton for the response! I am very glad to be moving forward again on this project!!Bill