isSuggestCustom(quote, fieldValuesMap)

Called after isInputHidden and getInputDefaulValue. Returns True for Salesforce CPQ to use Custom searching or False for Salesforce CPQ to use Enhanced searching.

global boolean isSuggestCustom(SObject quote, Map<String,Object> fieldValuesMap)

quote

Type: SObject

The current quote.

fieldValuesMap

Type: Map<String,Object>

A map of the suggestion criteria. The map key is a Product2 API name and the value is the desired search value.

Type: Boolean

Return True to use Custom searching or False to use Enhanced searching.

If you use Custom searching, Salesforce CPQ calls search for search execution. The search() method lets you build the SOQL query's SELECT and WHERE clauses manually before you perform your query.

If you use Enhanced searching, Salesforce CPQ calls getAdditionalSearchFilters for search execution. The getAdditionalSearchFilters method appends a WHERE clause to the existing SOQL query.