Activity Forums Salesforce® Discussions Can we create Master Detail Relationship on existing records in Salesforce?

  • shariq

    Member
    September 24, 2018 at 4:25 am

    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.

  • Avnish Yadav

    Member
    September 25, 2018 at 11:41 am

    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.

  • Aman

    Member
    September 29, 2018 at 7:14 pm

    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.

  • Divya

    Member
    November 1, 2018 at 12:54 pm

    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.

Popular Salesforce Blogs