Wednesday, 19 July 2023

PRODUCT RULE WITH ALERT TYPE USING SUMMARY VARIABLE IN SALESFORCE CPQ

  Product rule with Alert type using Summary Variable in Salesforce CPQ

(Here we take the scenario like Desktop Computer and Smartwatch product quantity are greater than 10 need to display the alert popup window to indicates message)

Before that we have to create the summary variable for the both Desktop computer and Smartwatch product

Login Salesforce à Select Salesforce CPQ App à Select Summary Variable à New

Give following value to the fields

1       *  Variable  Name à Total Smartwatch  & Aggregate function à Sum & Target object à Quote Line &                Aggregate Filed à Quantity

2.        *   Filter field à Product Code & Operator àEquals & Filter value à SMARTWATCH and Save 


Then Create another Summary variable for Desktop Computer

Give following value to the fields

1.         *  Variable  Name à Total Desktop & Aggregate function à Sum & Target object à Quote Line &                 Aggregate Filed à Quantity

2.           * Filter field à Product Code & Operator àEquals & Filter value à DESKTOPCOMPUTER and Save

Now We need to add the Total Desktop Summary variable to the Total Smartwatch Summary variable

Select Total smartwatch summary variable à Composite Information à Composite Operator à Add & Variable Element à add Total Desktop and Save

Let’s we need to create the Product Alert rule

Select à Product Rules à New

Give the following values to the fields

1.         *  Product Rule Name à Alert rule for smartwatch and Desktop Computer & Active à true & Type à           Alert & Condition met à All & Scope à Quote & Evaluation Event à Always & Message à You have       added the maximum smartwatch products and Save 

Add the Error Condition

1.          * Tested Variable à add Total Smartwatch & Operator à greater than & Filter Type à Value & Filter         Value à 10

Now go to the Quote and Choose any Quote and Add the Smartwatch Product and Desktop Computer on the Quote Line and enter the quantity of 6 for Smartwatch product and another 6 for the Desktop Comptuer product and Save the Quote line you may get the Alert popup message 



!!!!!!!!!THANK YOU FOR VISITING MY WEBSITE!!!!!!!!!!!!!!!!!!!

Monday, 10 July 2023

PRODUCT RULE WITH SELECTION TYPE USING THE CONFIGURATION ATTRIBUTES

 Product Rule with Selection type using the Configuration Attributes

(Here we take the Product as a Desktop computer and Configuration attributes as System Category to Hide and remove the product option of Ram 8GB and Hard Drive 4TB products)

(Please refer to my before blogs and get to know how to create the Configuration Attributes Now here we see how to create the Product rule with Selection type)

Before that, we have to create the twin field as System Category on the Quote line which you have created the field on the product option

Let's see how to create the validation rule in the following steps

 * First login with the salesforce CPQ org

 * In-app launcher search as product rule and select new to create the new rule

 *In the product rule name give the name as the Selection rule for the Desktop product

 * Select type à Selection and evaluation event à Always and condition met  à All and   active à and   click save 

* Now create the error condition here we need two condition

 Error conditionà new to create the condition

 Select Target object à Configuration Attributes and Target field à SYSTEM_CATEGORY__c

* In filter information selectà operator à equals and filter type à value and filter  value à SOFTWARE and select  save

 

Then you can add the product to Hide and Remove using Action

* Select Action à New  and Type à Hide & Remove and Product à Hard Drive 4TB and Save

* Select Action à New  and Type à Hide & Remove and Product à RAM 8GB and Save



Now need to configure the product on the Configuration Rule

* Select Configuration Rule à New à and Product à Desktop Computer and Active the checkbox

* Now go to the Quote line and choose any Quote and Add the Desktop computer product and choose the Software option on the System Category and see the RAM 8GB and Hard Drive 4TB can be removed from the Configure product page

For your reference see below uploaded image

If I didn’t choose the category see the products are not removed -Pic-1

Pic-2

But I choose Software in System Category the products are removed

Pic-1


Pic-2


!!!!!!!!!THANK YOU FOR VISITING MY WEBSITE!!!!!!!!!!!!!!!!!!!



Create Bundle Product with Product Option in Revenue Cloud

Let's explore how to create a Bundle Product along with its Product Options. First, we need to create the Bundle product.  App Launcher ...