Skip to main content
added 58 characters in body
Source Link
codebandit
  • 1.8k
  • 3
  • 22
  • 29

I am deleting OpportunityShare records with following code in my developer console

List<OpportunityShare> osList = [Select opportunityid from OpportunityShare  where UserOrGroupId = '00GG000000XXXXXXXX' And Rowcause = 'Manual'];
delete(osList);

The above list has 7400 records and on execution I am getting Internal SalesforceInternal Salesforce.com Error.com ErrorThis is error is shown debug log of developer console.

Any Help is appreciated.

I am deleting OpportunityShare records with following code in my developer console

List<OpportunityShare> osList = [Select opportunityid from OpportunityShare  where UserOrGroupId = '00GG000000XXXXXXXX' And Rowcause = 'Manual'];
delete(osList);

The above list has 7400 records and on execution I am getting Internal Salesforce.com Error.

Any Help is appreciated.

I am deleting OpportunityShare records with following code in my developer console

List<OpportunityShare> osList = [Select opportunityid from OpportunityShare  where UserOrGroupId = '00GG000000XXXXXXXX' And Rowcause = 'Manual'];
delete(osList);

The above list has 7400 records and on execution I am getting Internal Salesforce.com Error.This is error is shown debug log of developer console.

Any Help is appreciated.

What is the internal error message? Please edit your question and add it.
Source Link
Peter Knolle
  • 29.2k
  • 12
  • 104
  • 164

I am deleting OpportunityShare records with following code in my developer console

List osList = [Select opportunityid from OpportunityShare where UserOrGroupId = '00GG000000XXXXXXXX' And Rowcause = 'Manual']; delete(osList);

List<OpportunityShare> osList = [Select opportunityid from OpportunityShare  where UserOrGroupId = '00GG000000XXXXXXXX' And Rowcause = 'Manual'];
delete(osList);

The above list has 7400 records and on execution I am getting Internal Salesforce.com Error.

Any Help is appreciated.

I am deleting OpportunityShare records with following code in my developer console

List osList = [Select opportunityid from OpportunityShare where UserOrGroupId = '00GG000000XXXXXXXX' And Rowcause = 'Manual']; delete(osList);

The above list has 7400 records and on execution I am getting Internal Salesforce.com Error.

Any Help is appreciated.

I am deleting OpportunityShare records with following code in my developer console

List<OpportunityShare> osList = [Select opportunityid from OpportunityShare  where UserOrGroupId = '00GG000000XXXXXXXX' And Rowcause = 'Manual'];
delete(osList);

The above list has 7400 records and on execution I am getting Internal Salesforce.com Error.

Any Help is appreciated.

Source Link
codebandit
  • 1.8k
  • 3
  • 22
  • 29

Internal Salesforce.com error when deleting OpportunityShare records

I am deleting OpportunityShare records with following code in my developer console

List osList = [Select opportunityid from OpportunityShare where UserOrGroupId = '00GG000000XXXXXXXX' And Rowcause = 'Manual']; delete(osList);

The above list has 7400 records and on execution I am getting Internal Salesforce.com Error.

Any Help is appreciated.