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 3 years, 7 months ago 3 Members · 2 Replies
  • 2 Replies
  • Aditya

    Member
    August 10, 2020 at 8:07 pm

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

  • kishan

    Member
    April 13, 2021 at 7:07 am

    No, directly we cannot create master-detail relationship if custom object contains existing records.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos