Loading

Salesforce CPQ Quote Line Editor error 'Duplicate field selected: [field name]'

게시 일자: Dec 12, 2024
상세 설명
In Salesforce CPQ, a validation message on the Quote Line Editor with an error indicating "Duplicate field selected" signifies that two fields have the same API name on a CPQ object, not including the SBQQ namespace. 

For example, SBQQ__Distributor__c is an installed package field for CPQ.  A field name with API name Distributor__c is a field that can be successfully created but will cause "Duplicate field selected" errors.
솔루션

Field API names can't be duplicated because Salesforce doesn't include the field namespace when evaluating dynamic query logic. These field names have to be re-named in order to prevent errors. 

Rename field API names

1. Go to Setup in Lightning.
2. Search for the label of the field in the top Search Setup bar (i.e. "distributor discount");
3. Open all of the results and compare which field API names are the same as the managed field API names (without the "SBQQ__" prefix).
4. Rename the custom fields to have a different API name than the SBQQ field.  For example:

Object: Quote Line
Field: Distributor (Distributor__c)
Distributor__c changed to Distributor2__c will prevent the error from occurring.  

추가 자원
SEE ALSO
Idea - vote on this feature enhancement request to not evaluate package namespaces when comparing field API names.
Knowledge 기사 번호

000382164

 
로드 중
Salesforce Help | Article