You need to sign in to do that
Don't have an account?
![Leigh Rogalo Leigh Rogalo](https://dfc-org-production.my.site.com/img/userprofile/default_profile_45_v2.png)
How to convert a lookup Relationship to a 2nd Master-Detail Relationship on an object
I understand that an object can have two Master-Detail Relationships. I currently have a custom object with 1 Master-Detail and 1 Lookup Relationship. I would like to convert the Lookup to a Master Detail Realtionship. When testing in sandbox, I am receiving the message that a master-detail already exists.
Has anyone had this scenario and if so, how to work around?
Thanks in Advance!
Has anyone had this scenario and if so, how to work around?
Thanks in Advance!
If not the case, according to https://help.salesforce.com/apex/HTViewHelpDoc?id=relationships_considerations.htm&language=en_US
"You can convert a lookup relationship to a master-detail relationship, but only if the lookup field in all records contains a value.".
All Answers
Cyrus T
www.levementum.com
I have both - 1 - Master Detail Relationship Plus 1 Lookup Relationship field that are popluated with data. I want to convert the LookUp Relationship to be a 2nd Master Detail Relationship.
If not the case, according to https://help.salesforce.com/apex/HTViewHelpDoc?id=relationships_considerations.htm&language=en_US
"You can convert a lookup relationship to a master-detail relationship, but only if the lookup field in all records contains a value.".
Thank you for the response. You are understanding correct - I am trying to create 2 Master-Detail Relationships to the same two objects (Custom Object to Standard Object (Account).