Many to Many Relationship

Hi Community,
How to create doctype for Many to Many relationships.

1 Like

Could you explain your use case?

I want to create many-to-many relationship between order and product so I need to create ProductOrder that have associated with two primary key. but in the Order form, i want to show all products that ordered.Thank you.

You have to create a child table for this. See how items are linked to Sales Order.

1 Like

Thank you so much.