How to fetch Contact details from Opportunity using SOQL in Salesforce?

Sample Query:

SELECT Id, Opportunity.Name, Opportunity.OrderNumber__c, Opportunity.Approval_Status__c, Contact.Email, Contact.Name FROM OpportunityContactRole

Output:




Cheers!!!

No comments:

Post a Comment