function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gowthami R 8Gowthami R 8 

Relationship on the standard objects

Hi All, my question is that is there any relationship between standard objects,ie like accounts,leads,opportunity,case...so on,If they ahve any relationship what relationship they possess like M D or Look-up??
Ajay K DubediAjay K Dubedi


Hi Gowthami,

There is standard relationship between all standard objects by Salesforce itself.
We have Lookup of Account in Contact and Lookup of Account in Opportunity as well.

From development point of view:

Account to Contact( one to many )
Account to Opportunity ( one to many)

From business point of view:

Generally we consider
Contact  as Person
Account as Client /vendor
Opportunity as business options/projects

One Person has many clients and one client may brings many opportunities to person/company.

You can't create Master Detail Relationship between standard object as when a master is deleted then child record deleted automatically. Due to this property, salesforce does not allow master detail relationship between two standard object.

I hope this helps you.

Regards,
Ajay