You need to sign in to do that
Don't have an account?
pranavshah
what is difference between parent child and master-detail in salesforce
Hi,
can please someone explain me parent child & master detail relationship in salesforce
Regards
Pranav Shah
9029966976
can please someone explain me parent child & master detail relationship in salesforce
Regards
Pranav Shah
9029966976
In case of master detail is that the parent is required field and when you will delete the parent the child will be deleted. But in parent child (lookups), we can delete the parent and the child will not be deleted, only the field value will be empty.
Also, in master-detail we can create roll-up summary fields.
Hoep this helps!
All Answers
In case of master detail is that the parent is required field and when you will delete the parent the child will be deleted. But in parent child (lookups), we can delete the parent and the child will not be deleted, only the field value will be empty.
Also, in master-detail we can create roll-up summary fields.
Hoep this helps!
Hi Pranav,
Difference between master-detail relationships and lookup relationships
more :
Loookup : Master :
Loosely coupled Tightly coupled
Max number of lookup is 25 Max number of master is 2
Not a mandatory Mandatory
Once value is assigned can be changed Cannot be changed
Partent delete child cannot delete parent delete child also delete
cannot on lookup Roll up can be made on master-detail
Hope it will helps you, kindly close you query by choosing best answer if you got your answer
thanks
Hope the below relationship base details will be useful for further queries about relationship:
Master-detail relationship: If parent deleted child also deleted
Lookup relationship: If parent deleted child will not be deleted
Self-relationship: When an object has a lookup with itself, it is a self-relationship
External lookup relationship: This type links an object to an external object
Indirect lookup relationship: It links an external object to a standard or custom object in the same way that a regular lookup relationship links standard or custom objects
Many-to-many relationship (junction object): A junction object is a custom object with two master-detail relationships, and is the key to making a many-to-many relationship
Hierarchical relationship:Jul 2, 2012 - It seems that it's exactly like a Lookup relationship, except the only things that are "special" about this type of relationship are: It's only available on the User object
My ans was one : i.e Many To Many Relationship
is it correct//