Ordering from Quotes is failing when State/Country pick lists are enabled with large data sets
Trailblazer Community

Ordering from Quotes is failing when State/Country pick lists are enabled with large data sets

Salesforce CPQ (Configure-Price-Quote)

Last updated 2021-10-21 ·Reference W-9934168 ·Reported By 8 users

In Review

Summary
Ordering is failing after 234 upgrade for customers with State/Country pick lists enabled and a large data set.

Error:Apex trigger SBQQ.QuoteAfter caused an unexpected exception, contact your administrator: SBQQ.QuoteAfter: System.LimitException: Apex CPU time limit exceeded

Repro
Prerequisites:

1. Enable State/Country pick lists
2. Have a large data set within these pick lists (including duplicate values)

Then:

1. Navigate to a Quote
2. Select SBQQ__Ordered__c = True
3. See time limit error

Workaround
None

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.