DML

Solution for: System.TypeException: Cannot have more than 10 chunks in a single operation.

Hi All,

Assume that you have hybrid list of SObject.Which means many sobject records(Account,Contact,Lead etc) in single List.When you try to perform a DML operation on this list you will encounter the following error.

System.TypeException: Cannot have more than 10 chunks in a single operation.

As all we know Salesforce platform runs everything(Soql,DML and CPU time etc) based on governor limit.The same is applying in this hybrid list.