Skip to main content
Full Circle Insights

GetOpsWithContacts

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

Parameters

  • 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 

Returns

Map of all opportunties with related OpportunityContactRole records

  • Was this article helpful?