Happy Business Starts Here

Highlighted
Support SME
Support SME

Too many SOQL queries error with ZQuote or Z360

Question or Problem Statement:
When sending a quote to Zuora from ZQuotes, we are hitting a too many soql query error when the quote has too many quote rate plans. The error is happening in the Zuora managed space and is causing us major issues.

zqu:Too many SOQL queries: 101
Error is in expression '{!callQuoteSplit}' in component <apex:commandButton> in page customsendtozbilling:

Class.zqu.ZQQuoteTriggerMgr.doQuoteTriggerAfter: line 639, column 1
Class.zqu.ZQQuoteTriggerMgr.doQuoteTrigger: line 326, column 1
Trigger.zqu.QuoteTrigger: line 78, column 1

To reproduce, load this quote:
https://xxx.my.salesforce.com/a2z3B000000xxxx

and click [Send to ZBilling] custom button.






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 REPLY 1
Support SME
Support SME

Re: Too many SOQL queries error with ZQuote or Z360

Solution:
"Too many SOQL queries" means that your action/query hits SFDC Governor Limit.
https://developer.salesforce.com/forums/?id=906F0000000kBvyIAE

Please review if you have customization work flow/button/trigger in your ZQuote/Z360 app. It is highly recommend you to review this with your SFDC team, this is because of Zuora support has no idea about your customization.

Supporting References:
https://developer.salesforce.com/forums/?id=906F0000000kBvyIAE






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √