Activity Forums Salesforce® Discussions How to create many to many relationships between object in SCualesforce?

  • Laveena

    Member
    September 5, 2019 at 5:17 am

    Hi Prachi,

    We can use master-detail relationships to model many-to-many relationships between any two objects. A many-to-many relationship allows each record of one object to be linked to multiple records from another object and vice versa. For example, we create a custom object called “Bug” that relates to the standard case object such that a bug could be related to multiple cases and a case could also be related to multiple bugs. When modeling a many-to-many relationship, we use a junction object to connect the two objects you want to relate to each other.

    Thanks

  • Saddam

    Member
    September 5, 2019 at 5:28 am

    Hi Prachi,

    create Many-to-Many Relationship between Invoice object and Pharma Product object. As already we have create junction object Pharma Product Invoice so establish Many-to-Many relationship between Pharma Product(parent Object) and Junction Object(Child Object), Invoice Object(parent Object) and Junction Object(Child Object).

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos