• #38925
    Forcetalks

    Can we create Master Detail relationship on existing records?

    Can we create Master Detail relationship on existing records?

    #38926
    Salesforce | shariq shariq #1
    Forcetalks

    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.

    #39182
    Forcetalks

    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.

    #39747
    Salesforce | Parul Parul #2
    Forcetalks

    I agree with Avnish, it’s not possible

    #41046
    Salesforce | Aman Aman #4
    Forcetalks

    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.

    #41069
    Forcetalks

    Hello,

    You need to create the lookup, then populate each one so that each child record has a parent record. This is because a master-detail relationship does not allow for ‘orphaned’ child records. Once you have a lookup with each child having a parent, then you can go back and convert the lookup field to a master-detail.

    Thanks.

     

    #42049
    Salesforce | Parul Parul #2
    Forcetalks

    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

    #42100
    Salesforce | shariq shariq #1
    Forcetalks

    must first create a Lookup relationship, populate the lookup field with data in all records, and then change the relationship type to Master-Detail

    #42102
    Salesforce | shariq shariq #1
    Forcetalks

    Once you have a lookup with each child having a parent, then you can go back and convert the lookup field to a master-detail.

    #42182
    Salesforce | shariq shariq #1
    Forcetalks

    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

    #51461
     Divya #11
    Forcetalks

    Hi,

    No we can’t create directly we need to first create look up and then we can convert it into master detail

Viewing 11 posts - 1 through 11 (of 11 total)

Please to reply to this topic.

CONTACT US

We're not around right now. But you can send us an email and we'll get back to you, asap.

Sending

About Us

Forcetalks is a Salesforce collaboration platform for coders & developers, geeks & nerds, consultants & business heads, admins & architects, managers & marketers and of course the business owners. A community where you can learn from, where you can contribute to. For you. For Salesforce. Read More...

Copyright 2019 Forcetalks. All Right Reserved.

Log in with your credentials

or    

Forgot your details?