function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Related list in Opportunity Product



I want to create a relation ship between custom object and opportunity Product, when i tried the Master detail/lookup relation in custom object, there is no way to choose the opportunity product. is there any other way to create the relationship between Opportunity product and custom object.


Thanks in Advance!

Best Answer chosen by Admin (Salesforce Developers) 

Hi Patcs,

Products or Opportunity Product is a special standard object  of salesforce and salesforce does not allow creation of Master-Detail relationship with this object. Hence you can have your own custom object which emulates "Opportunity Product" and then assign this objkect as the "Master" of your custom object.


Hope this helps.