• #31012
    Forcetalks

    Is it possible to delete Junction Object in Salesforce Master-Detail Relationship?

    Is it possible to delete junction Object in case of Master-Detail Relationship?

     

    #31014
    Forcetalks

    Hi Chanchal,

    If the parent objects don’t have Roll up Summary fields for the child object then we can delete.To delete a child object it should not be referred to Apex Classes and Apex Triggers.Later if we undelete the object, Master-detail fields on the junction objects will be converted to look up Fields.

    #41053
    Salesforce | Aman Aman #4
    Forcetalks

    Hi,

    If the parent objects don’t have Roll up Summary fields for the child object then we can delete.
    To delete a child object it should not be referred in Apex Classes and Apex Triggers.
    Later if we undelete the object, Master detail fields on the junction objects will be converted to look up Fields.
    Note:
    If we delete only Master – Detail Relationship field from the child object and undelete it from the Recycle Bin then it will be converted to look up relationship.
    Parent Object we cannot delete because it will be referred in the child object.

    Thanks.

    #41089
    Forcetalks

    Hello,

    Yes, it is possible only, there is no Roll-up summary.

    Thanks.

Viewing 4 posts - 1 through 4 (of 4 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?