Skip to main content
We have come up with new definations for contact roles and I would like to mass delete the contact roles in current open opportuntities.  Is this possible?
6 answers
  1. Mar 23, 2016, 3:01 PM
    You can use a tool like Dataloader.IO or Apex Data Loader and perform a delete operation on the OpportunityContactRole object.

     

    You can use an SOQL Query like this to get access to Contact Roles associated with "open" Opportunities and then perform an Export

    .

    SELECT Id FROM OpportunityContactRole WHERE Opportunity.IsClosed = FALSE

    Then use the same CSV to run a

    Delete on the OpportunityContactRole object.
0/9000