You need to sign in to do that
Don't have an account?
suresh sanneboina 4
When i do a merge operation. i am getting the Exception (Too Many DML Rows 10001). salesforce has a limit of 10000 per single transaction. How can i overcome this issue.
Hi,
We have created a global web service class and that has a method which accepts parameters
Source Account Id and target account id. The source needs to be merged to target and all the contacts(14000) existing in source should be moved to target. Before moving the contact i need to update contacts and need to merge. We are getting the exception 'Too Many DML Rows
10001'.
I knew that salesforce has a DML limit of 10000 rows in a single transaction. I cannot use asynchronous call since the request to merge the records is called from the External System.
Please help me out if there is any alternative.
We have created a global web service class and that has a method which accepts parameters
Source Account Id and target account id. The source needs to be merged to target and all the contacts(14000) existing in source should be moved to target. Before moving the contact i need to update contacts and need to merge. We are getting the exception 'Too Many DML Rows
10001'.
I knew that salesforce has a DML limit of 10000 rows in a single transaction. I cannot use asynchronous call since the request to merge the records is called from the External System.
Please help me out if there is any alternative.
Asynchronous call is quite possible in this case also, either batch apex or future call will work.
Can you please let us know what you are returning from your webservice method, That will help us to understand better.
Since we are getting the (too Many DML Rows 10001) errors. We are unable to make the transaction successfull in the external application.