Activity Forums Salesforce® Discussions What is the relationship between Account and Contact?(Explain)

  • Sudhir

    Member
    July 5, 2017 at 12:28 pm

    It is a lookup relationship. You can create Contacts without any reference to any Account.

    The answer lies in the differences between Master-Detail and Lookup.

    But in terms of Cascade delete, it behaves like master-detail; meaning when you delete an Account, the related contacts are deleted.

    In a standard way, the OWD of Contact is Controlled by its Parent which is Account.

    So you say that: at record creation level, it behaves like a lookup; but at sharing/owd level, its Master-Detail.

    • This reply was modified 7 years, 4 months ago by  Sudhir.
    • This reply was modified 7 years, 4 months ago by  Sudhir. Reason: further info added
  • shariq

    Member
    July 5, 2017 at 1:16 pm

    thanks sudhir,
    it helps a lot.

  • Parul

    Member
    September 15, 2018 at 7:24 pm

    Contacts and Accounts have a lookup relationship but this relationship has a property called CascadeDelete that's why the contact is deleted when the parent object is deleted. Account and contact behaves as master detail logics its a standard functionality in salesforce but on UI it is a lookup relationship .

     

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos