Skip to main content
Full Circle Insights


Map<Id, Opportunity> GetOpsWithContacts(
    Set<Id> opIds,
    Set<String> oppTypesToExclude,
    Set<String> additionalOppFieldsToQuery)


  • opIds - Set of Opportunity IDs
  • oppTypesToExclude - Set of Opportunity Types. Opportunities having one of these Opportunity Types won't be included in the return value
  • additionalOppFieldsToQuery - Set of Opportunity field names that will be included in the Opportunities in the return value 


Map of all opportunties with related OpportunityContactRole records

  • Was this article helpful?