Group: Forum Members
Posts: 2K,
Visits: 6.6K
|
This error indicates that you can't set the ParentBusinessObject when you are dealing with the definition of the business object itself. I.e. if you have a business object named CustomersBO, and you double click it in VS solution explorer, the designer opens, were you can hit F4 and view the properties. You can't set the ParentBusinessObject here.
The ParentBusinessObject must be an instance of the parent business object set in the ParentRelationship. So you set this when you create an instance of the parent business object. E.g. you have a form that you drop both the parent and this BO on, then you can set the ParentBusinessObject.
Hope that helps!
|