SALESFORCE
Difference between Master-Detail and Look-Up relationship
Master-Detail relationship :
- It is a Strong Relationship.
- If master record is deleted then all its associated detail records will get deleted.
- Master-Detail relationship is created through a field on detail object and it is a mandatory/required field.
- Security setting and Look&Feel will be inherited from Master-Detail object.
- RollUp summary fields are allowed.
- Maximum 2 Master-Detail relationships per object.
- It is a weak relationship.
- If parent record is deleted then all its associated child records may/ may not be deleted.
- Look-Up relationship is created through a field on child object and it is an optional field.
- Security settings and Look&Feel won't get inherited from parent to child object.
- Rollup summary fields are not allowed.
- Maximum 40 relationships per object [if we have used 2 relationships for Master-Detail then we can have maximum 38 relationship Else we can use upto 40 Look-Up relationships]
No comments:
Post a Comment