Activity Forums Salesforce® Discussions Is it possible to create the Master – Detail Relationship field for the child ob

  • Is it possible to create the Master – Detail Relationship field for the child ob

    Posted by Pooja on August 10, 2020 at 7:40 PM

    Is it possible to create the Master – Detail Relationship field for the child object which is having existing records in Salesforce?

    kishan replied 5 years, 1 month ago 3 Members · 2 Replies
  • 2 Replies
  • Aditya

    Member
    August 10, 2020 at 8:07 PM

    You can‘t create a masterdetail relationship if the custom object already contains data. You can, however, create the relationship as a lookup and then convert it to masterdetail if the lookup field in all records contains a value.

  • [adinserter block='9']
  • kishan

    Member
    April 13, 2021 at 7:07 AM

    No, directly we cannot create masterdetail relationship if custom object contains existing records.

Log In to reply.