We Have moved to www.allaboutsfdc.com

This Blog has moved to ALL ABOUT SFDC

Chitika

Sunday, November 21, 2010

Junction Object or Many to Many Relationship in SFDC

There is no out of box relationship present in SFDC i.e. Many to Many in nature, So to have a many to many relationship in SFDC a JUNCTION OBJECT is required.

A junction object joins the two objects with two master detail relationship. Junction object is always on the detail side of the object.

                                   Obj1  M : 1  Junction  1 : M  Obj2

This way junction object creates Many to Many relationship between Obj1 and Obj2. (DEV 401 Question)

One example of many to many relationship among standard objects is Case and Solution. One case can have many solution attached to it and one solution can be used in resolving many cases.

No comments:

Post a Comment