3

In the salesforce UI, there is a related list of opportunities on contact layout. However, I can't figure out an API field that relates contact and opportunity.

I basically want to get all opportunities for a contact that I see on the contact page in Salesforce UI

2

You can make use of OpportunityContactRole to get the opportunities for a particular contact. Like: Select OpportunityId from OpportunityContactRole where contactID

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.