Salesforce CPQ: Control Ability to Reconfigure Bundles

  • Blog
  • Salesforce CPQ: Control Ability to Reconfigure Bundles
blog image
24
Aug

Salesforce CPQ allows you to control when sales reps can configure bundles by changing the product's Configuration Event and Configuration Type fields. You can also disable reconfiguration altogether (SBQQ__ReconfigurationDisabled__c checkbox on the product record). This setting prevents users from clicking the Reconfigure wrench icon on quote lines for a certain product within the Edit Lines page, meaning that the product can only be configured when first added to a quote. Note that this field overrides the Configuration Event field set to Edit or Always.

However, what if you need to only disable reconfiguration on certain types of quotes (e.g. Renewals) for all bundles while it should be possible to reconfigure them on new quotes or amendment quotes?

Reconfigure Line wrench icon is actually a Custom Action. It is possible to set up conditions so that a specific custom action appears or not in the quote line editor or configurator. These conditions use logical operators to compare a value that we provide to the value of a quote or product field. 

Since the Reconfigure Line custom action appears in the quote line editor, we can use conditions for it. Conditions work only with custom actions that appear in the quote line editor or configurator. They don't work with custom actions that appear on other pages.

1. Go to the Reconfigure Line Custom Action.

2. Click New in the Custom Action Conditions related list.

3. Enter a meaningful Custom Action Condition Name, e.g. Hide Reconfigure on Renewals.

4. Set the Target Object to Quote. The Reconfigure Line Custom Action has the Target Object field blank, meaning that it targets the quote. Thus, we need to set the custom action condition's target object to Quote.

5. Set the Field to SBQQ__Type__c. Since this is a quote-scoped condition, it evaluates fields that live on the quote record. 

6. For the Operator field, choose the "not equals" value.

7. For the Filter Value, enter "Renewal" - this is the value that we compare against the value of the target field. 

8. Click Save

9. On the Custom Action record, make sure the Conditions Met field is set to All. So, when the condition we just created is met, the icon for the Reconfigure Line custom action will be shown in the quote line editor. 

Note that just as the Disable Reconfiguration field overrides the Configuration Event field set to Edit or Always, it also overrides whatever conditions we have specified for the Custom Action because it takes precedence. This means that if a product has this field set to True, the Reconfigure Line icon won't appear for it even though it's supposed to be rendered on new quotes and amendment quotes.

Comments (2)

Lakshmi
Aug 25, 2022

very helpful article, thanks for sharing

Salesforce Consultant
Jan 24, 2023

Great job for the best Salesforce Blogs which is very useful to us. Thanks a lot for providing us with a beautiful blog.

Leave a Comment