You need to sign in to do that
Don't have an account?
Anil Rao 17
why is opportunity & Opportunity Product a Lookup versus Master-Detail?
Isnt a M-D relationship the correct relationship between opportunity & Opportunity Product ? When a Opportuntiy is deleted, I want the OP records to be deleted. Hnece doesnt a MD rleationship makes sense?
a. You can create Rollup summaries
b. You won't be able to insert Opportuniuty Line Item without Opportunity
c. When you delete the Opportunity, it will delete the related Opportunity Products as well.
d. When you share the Opportunity, Opportunity Product will be shared automatically
You will see the same between Account => Contact, Account => Cases, Account => Opportunities and Opportunity => Opportunity Products i.e., Though the relationship is lookup (technilcally as per the field definition) it still works like MD in some use case scenarios.
Regards,
Natarajan
All Answers
a. You can create Rollup summaries
b. You won't be able to insert Opportuniuty Line Item without Opportunity
c. When you delete the Opportunity, it will delete the related Opportunity Products as well.
d. When you share the Opportunity, Opportunity Product will be shared automatically
You will see the same between Account => Contact, Account => Cases, Account => Opportunities and Opportunity => Opportunity Products i.e., Though the relationship is lookup (technilcally as per the field definition) it still works like MD in some use case scenarios.
Regards,
Natarajan
But still why define it as a lookup & (probably) via code in the background make it work like MD versus just making it as MD.