What is a master detail relationship?
Keeping this in view, when should you use a lookup instead of a master detail relationship?
A typical use of a Master-Detail would be the classic Sales Order and Sales Order Items objects. Lookups are generally for use where you may or may need to have a relationship between two objects (but not always). Lookups are generally used to reference commonly shared data, such as reference data.
Additionally, what is true about master detail relationships? It is a custom field which links one object record to another. Through the creation of relationships, we can display the data of all the related records in the record's details page. The Master Detail relationship is used when we want to control the display of detail records based on the value in the master record.
Keeping this in view, what is a lookup relationship?
A Lookup relationship involves finding value of a field based on the value in another field in another object. It is mostly used in the case of commonly shared data between two objects.
What is the key difference between a master detail Realationship and a lookup relationship?
Instead we have to first create Look up fields then fill all the records with that lookup filed. After that we can convert the lookup fields to master – detail relationship. If we delete master records then detail (Child) records are deleted. It creates the parent(master) child(Detail) relationship between objects.