Group: Forum Members
Posts: 2K,
Visits: 6.6K
|
There a couple of settings that you might want to check. On the form, is the IncludeInFormEditType set to All Business Objects or Determine By Business Object? And on CustB BO, is the IncludeInFormEdit set to True?
The combination of these determine if the BO changes state (add/edit/save/undo/delete) when a maintenance form toolstrip button is clicked. In your case I believe you want the IncludeInFormEditType set to Primary Business Object, assuming CustA is the primary business object. The primary business object is typically the first one dropped on the form, so that may be causing problems too, if CustB was dropped first. I think you can set the primary business object right in the designer on the form's property sheet.
Once you have CustB no longer being put into edit/add, etc., then I think reacting to the EditingStateChanged on CustA would work fine.
Hope that helps.
|