StrataFrame Forum

Relationship Question

http://forum.strataframe.net/Topic9364.aspx

By Tim Dol - 6/6/2007

I have parent/child relationship, CustomerBO and EmailBO. Right now when I create a new Customer record, I automatically get a new blank EmailBO record, which is a result from the Parent/Child relationship.

When I create a new customer record, I only want to create the child records if the user has actually entered the email data so I don't get blank records.  Is there any way to do this and keep the parent/child relationship intact?

Thanks

Tim

By Ben Hayat - 6/6/2007

Tim, that sounds odd. Does this behavior appear with any master/detail setup you have or only Customer/Email?



I'll watch this thread!
By Tim Dol - 6/6/2007

We have a few relationships like this in our legacy database. Customer --> Phone Numbers and Customer --> Email Addresses.  Phone Numbers and Email Addresses are not required so if the user does not enter email addresses or phone numbers I don't want the blank records created.
By Tim Dol - 6/6/2007

I found my problem. I had the IncludeInFormAddType set to AllBusinessOjects. I changed back to PrimaryBusinessObject and it seemed to fix my problem.