How many relationships in salesforce?

Mainly there are three type of relationship

  1. Master detail relationship
  2. Lookup relationship
  3. Many-Many relationship
Master detail relationship:- It is a parent to child relationship, where master represent Parent and details represent as child. On the child object master filed always required. If master record deleted then its associated child record automatic deleted. we can create a roll-up summary on only parent object.

Lookup relationship:- It is a child to parent relationship. It is always create on child object. we can fetch the data from parent. It is not required field. When parent record deleted it's child record does not deleted.

Many-to- Many relationship:- when one object associated from two master detail relationship they are called junction object.

Roll-up-summary:- Roll up summary always visible on parent object. We can count the child record, and calculate the sum, min, max as well.

To know more live demo source code in Salesforce lightning, Trigger, Visualforce & LWC, Use this link..



How many relationships in salesforce? How many relationships in salesforce? Reviewed by Admin on 1:13 AM Rating: 5

6 comments:

  1. read your and i really find it helful. Thanks for sharing such amazing articles with us

    ReplyDelete
  2. Thanks For Sharing The Amazing content. I Will also share with my friends. Great Content thanks a lot.Watch Today Videos

    ReplyDelete
  3. Thanks for sharing a very good information and nice article..matka I will must share this content with my friends

    ReplyDelete
  4. A proper kindly of research is very necessary before selecting the broker also we should keep in mind that reviews should not be trusted blindly, there should be someone who is from our friend circle who have worked with that broker Bitforex Broker

    ReplyDelete

header banner -- www.w3web.net



Powered by Blogger.