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
Steve HarrisonSteve Harrison 

How to create Contact Roles for Orders?

I would like to relate multiple Contacts to an Order and multiple Orders to a Contact much like the way this is done through Contact Roles within Opportunities. This is not possible with standard SF functionality, but Support recommended pursuing a custom APEX coding option. Has anyone else tried to do this or have a solution?
Best Answer chosen by Steve Harrison
PratikPratik (Salesforce Developers) 
Hi Steve,

The Contact Role related list is availanble on Account, opportunity,contract & case.

You can create the cusom object (to store contact, role) and create a relationship between Orders and custom object. 

Custom object will have lookup field on contact, a custom picklist field to store the roles etc.


Thanks,
Pratik

P.S. If this answers you question, please mark it as "Best Answer" so it will help other community members too.