Qus:    Is it possible to delete junction – Object in case of Mater – Detail Relationship?
Feb 27, 2021 10:37 1 Answers Views: 1123 LALITH
Prev Next
Answers (1)
NAIDU Mar 01, 2021 09:17
Answer:   If the parent objects don’t have Roll up Summary fields for the child object then we can delete. To delete a child object it should not be referred in Apex Classes and Apex Triggers. Later if we undelete the object, Master detail fields on the junction objects will be converted to look up Fields.
Note: If we delete only Master – Detail Relationship field from the child object and undelete it from the Recycle Bin then it will be converted to look up relationship. Parent Object we cannot delete because it will be referred in the child object.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.

Let`s Connect