Skip to Content

Welcome!

Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

Sign up

You need to be registered to interact with the community.
This question has been flagged
1 Reply
32 Views

Hi    When I try to use "Clone With Related" on a CPQ Quote that has quote line groups, I get the following error:    "SObject row was retrieved via SOQL without querying the requested field: SBQQ__QuoteLineGroup__c.SBQQ__CustomerTotal__c"    So somewhere in all the hidden CPQ managed code there is a piece of Apex that is referencing an Sobject that was queried without "SBQQ__CustomerTotal__c" in the SELECT clause. I just can't tell where, of course.    Further information

  • When I log in as the Admin user it works. But I've tried giving all the CPQ permission groups to other users, and it still fails for them.
  • I've double-checked that the users have access to SBQQ__CustomerTotal__c (I've even run SOQL when logged in as a non-admin user.)
  • Quote without groups work fine.
  • The "Group Line Items" field is visible on the Quote form.

Does anyone have any ideas?

  Thanks   

Avatar
Discard
Best Answer

Hi - This is a known Salesforce CPQ issue. The error happens because the SBQQ__CustomerTotal__c field isn’t included in a managed package query during clone, and only Admin users bypass that restriction.

To fix it, ensure all affected users have read access to the SBQQ__CustomerTotal__c field and SBQQ__QuoteLineGroup__c object. If that doesn’t help, the only real workaround is to clone the quote without line groups or use a custom clone process, since the bug exists in CPQ’s managed code and can’t be modified directly.

Avatar
Discard

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!