Issue
A user who is assigned a custom profile can't complete the out-of-the-box (OOTB) Move, Add, Change, Delete (MACD) Change to Quote Industries CPQ process. When the user starts Change to Quote from an existing asset, the process fails and displays an Apex error. The same process can complete for users whose profile already has the required access.
Symptoms
List has no rows for assignment to SObjectvlocity_cmt.OmniChangeToQuoteWrapper classRoot Cause
The Change to Quote process runs Apex code from the vlocity_cmt managed package, including the OmniChangeToQuoteWrapper class. Access to Apex classes is controlled per profile and permission set. When the custom profile is missing access to the classes that the Change to Quote process calls, the process fails and returns the "List has no rows for assignment to SObject" error.
In Apex, this error message indicates that a query expected to return a record returned no rows. In this scenario, granting the custom profile access to the vlocity_cmt classes resolves the error.
Grant the custom profile access to the vlocity_cmt Apex classes that the Change to Quote process uses.
Confirm the cause
vlocity_cmt.OmniChangeToQuoteWrapper.vlocity_cmt classes (for example, an administrator).
Grant Apex class access
vlocity_cmt.OmniChangeToQuoteWrapper and click Add.vlocity_cmt classes, add those classes as well.Verify the fix
vlocity_cmt class in the stack trace. Grant access to that class and test again.Tip: If several custom profiles need this access, consider granting the Apex classes through a permission set that you assign to the affected users.
000985342

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.