You need to sign in to do that
Don't have an account?
Help
System.DmlException: Update failed. First exception on row 0 with id 0065000000JfoKmAAJ; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, AutoReceiveDeliverable: execution of BeforeUpdate
caused by: System.DmlException: Process failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, ProjectDeliverableTrigger: execution of BeforeUpdate
caused by: System.Exception: Too many SOQL queries: 101
Class.DeliverableProject.ProjectApprovers: line 52, column 1
Trigger.ProjectDeliverableTrigger: line 35, column 1: []
Trigger.AutoReceiveDeliverable: line 59, column 1
Class.SyncPONumberOnDealSheet.updateDealSheetPONumber_list: line 38, column 1
Any help on this
It looks like the cause is Too many SOQL queries. You've passed the governor limit. If you are executing any SOQL statements inside of a for loop that could be the reason why you are executing 100+ queries.
ForceCoder is correct.
Please refer the Execution Governors and Limits of salesforce.
http://www.salesforce.com/us/developer/docs/apexcode/Content/apex_gov_limits.htm
You might have written the soql query inside the for loop. Avoid writting an query inside the for loop.
Thanks,
Devendra