Activity › Forums › Salesforce® Discussions › Can we create Master Detail Relationship on existing records in Salesforce?
Tagged: Existing Records in Salesforce, Lookup Fields, Master Detail Relationship, Salesforce Records
-
Can we create Master Detail Relationship on existing records in Salesforce?
Posted by Parv Shekhar Singh on September 24, 2018 at 4:25 AMCan we create Master Detail relationship on existing records?
Divya replied 7 years, 6 months ago 5 Members · 4 Replies -
4 Replies
-
Yes, It is possible to create Master-Detail Relationship on existing record. First we have to create Look-Up relationship to a record then convert it to master-Detail Relationship.
- [adinserter block='9']
-
You cannot create a new Master-Detail relationship on an existing custom object if records already exist. You must first create a Lookup relationship, populate the lookup field with data in all records, and then change the relationship type to Master-Detail. Click here to return to the previous page.
-
Hi,
You need to create a lookup field then fill this field with some parent value, then convert its type to master detail.
Hope this helps.
-
Hi,
No we can’t create directly we need to first create look up and then we can convert it into master detail
Log In to reply.