Salesforce CPQ - Quote Calculator Plugin, QCP, CPQ Plugin

  Рет қаралды 11,952

Learn Salesforce CPQ

Learn Salesforce CPQ

Күн бұрын

Пікірлер: 45
@MotuMuttonKiPlate
@MotuMuttonKiPlate 3 жыл бұрын
What type of field is Component Custom Total? I tried replicating the same on my local org following the same steps from the video but my Component Custom Total field on Quote Line editor is not populated.
@SalesforceCPQ
@SalesforceCPQ 3 жыл бұрын
This field must be override by CPQ's own calculation. Instead of this field use any other custom field just to verify that if QCP populating it correctly or not
@sureshcks
@sureshcks 3 жыл бұрын
This video is very helpful!! Is there a way to add multiple logics for different scenarios as we can have only one custom script in an Org?
@SalesforceCPQ
@SalesforceCPQ 3 жыл бұрын
you can add multiple functions and invoke them as per need in QCP logic
@kunkans4546
@kunkans4546 3 жыл бұрын
Hi Team, Need some inputs on the below items regarding the QCP plugin , where my requirements is to make callout to third party System to fetch the pricing details 1) If we use the REST callout in QCP plugin , will the callout happens everytime when any one of the field is changed on QL in QLE or else only when we click on Save or Quick Save in Quote Line editor 2)If we specify one of the field in the calculating field set lets say Discount , if the discount field is changed in one of the quote line outside of QLE, then the QCP plugin will fire right ?
@SalesforceCPQ
@SalesforceCPQ 3 жыл бұрын
1. Yes this will be fired on save/calculate button event. 2. If you add any field lets say discount as you mentioned into calculated field set on product then also it will fire
@kunkans4546
@kunkans4546 3 жыл бұрын
@@SalesforceCPQ Thanks , and for the point 2 , if we modify the QL in QLE , lets say if we change the discount for first Quote line , then QCP will be fired and after successful callout , then if I change 2nd QL's discount again the REST callout will be fired , is my understanding correct ? Can you please help me in giving few of the drawbacks why we should not QCP plugin (where REST callout is implemented) Thanks for your help ..
@kunkans4546
@kunkans4546 3 жыл бұрын
@@SalesforceCPQ And another additional question , is the callout synchronous or asynchronous, I can see in the SF documentation that if we use promise then it will be async, I think we should use promise in the QCP .. developer.salesforce.com/docs/atlas.en-us.222.0.cpq_dev_plugins.meta/cpq_dev_plugins/cpq_dev_jsqcp_guidelines.htm So if we use this, the prices will not be loaded in real time ..
@SalesforceCPQ
@SalesforceCPQ 3 жыл бұрын
@@kunkans4546 Through QLE it will not, Out of QLE field change will trigger calculation event.
@kunkans4546
@kunkans4546 3 жыл бұрын
​@@SalesforceCPQ Your inputs are highly appreciated . What about Synchronous vs Asynchronous ??
@nipunkalal
@nipunkalal 4 жыл бұрын
I want to apply for a discount on quoteline if a field on a custom object changes it should trigger the recalculation. Can I do it using QCP?
@SalesforceCPQ
@SalesforceCPQ 4 жыл бұрын
Discount field is already part of recalculation. So if you change the discount then recalculation happened automatically. Yes you can use QCP to fetch record from custom object and update to discount field
@nipunkalal
@nipunkalal 4 жыл бұрын
@@SalesforceCPQ I'm updating discount on quote line on a before insert trigger and it does not work. The field is added in the field set. Am I making any mistake here?
@SalesforceCPQ
@SalesforceCPQ 4 жыл бұрын
@@nipunkalal I never suggest to use trigger for quote line object, it always conflict with quote calculation. Modification to pricing related field using process builder or trigger is not recommended. Use price rules / QCP
@nipunkalal
@nipunkalal 4 жыл бұрын
@@SalesforceCPQ The field that is retriggering the calculation is on custom object. Can I still use QCP here? If the field on the custom object is changed then the discount on QLIs should also change.
@brahmareddy7048
@brahmareddy7048 3 жыл бұрын
is it possible Quoteline bundle product field compare with Quote field value using custom script while save the quote and through an error msg
@SalesforceCPQ
@SalesforceCPQ 3 жыл бұрын
Yes
@brahmareddy7048
@brahmareddy7048 3 жыл бұрын
@@SalesforceCPQ Could you please help me with some sample code,?
@SalesforceCPQ
@SalesforceCPQ 3 жыл бұрын
@@brahmareddy7048 I tried but access denied for code repo :)
@anirbandas2600
@anirbandas2600 Жыл бұрын
How to add a product automatically in quote whenever we select another product by JavaScript code
@SalesforceCPQ
@SalesforceCPQ Жыл бұрын
Use Salesforce CPQ APIs, call rest method from QCP to achieve this
@sanils6738
@sanils6738 4 жыл бұрын
Hi Team, Can you please let me know if we can call an apex class(other than rest service )from the CustomScript code which is written in JS ,
@SalesforceCPQ
@SalesforceCPQ 4 жыл бұрын
Yes you can call it from JS code.
@sanils6738
@sanils6738 4 жыл бұрын
@@SalesforceCPQ Thanks , can you please provide sample code , as i am unable to achieve , but i am able to call the REST Class. Thanks !! Below is the link which i am able to achieve salesforce.stackexchange.com/questions/273624/integrating-salesforce-cpq-with-sap-to-get-realtime-pricing-data
@SalesforceCPQ
@SalesforceCPQ 4 жыл бұрын
@@sanils6738 Yes, this is correct, have you annotated your apex class with this header @RestResource(UrlMapping='/restName/*')?
@sanils6738
@sanils6738 4 жыл бұрын
@@SalesforceCPQ Thanks , yes i am able to call the class .But i need similar code where i can call webservice method from Customscript. global class test { webservice static void getData(){ // some sample code } } In this example , i dont have the rest class annotated , but i want to call the class from custom script , what will be the syntax in custom script . Do you have any sample code which you help me .. Thanks !!
@SalesforceCPQ
@SalesforceCPQ 4 жыл бұрын
Try this code as well, var body = { quoteId: quoteId}; conn.apex.post("/APEXCLASSNAME/", body, function(err, res) { console.log('res' + res); if (err) { console.log('error' + err); } else { if(res != "true") { return reject(res); } } return resolve();
@ScorpionCloud
@ScorpionCloud 5 жыл бұрын
Sound is low? But the video details are good and a nice explanation discussing plugins.
@hareeshag290
@hareeshag290 4 жыл бұрын
Can we restrict access to users in qcp plugin.
@SalesforceCPQ
@SalesforceCPQ 4 жыл бұрын
Refer Page Security Plugin
@hareeshag290
@hareeshag290 4 жыл бұрын
Can we update lookup field in qcp plugin
@SalesforceCPQ
@SalesforceCPQ 4 жыл бұрын
Yes, we can
@hareeshag290
@hareeshag290 4 жыл бұрын
@@SalesforceCPQ please send me code snippet
@rajveerrawat3929
@rajveerrawat3929 8 ай бұрын
good video man
@AdolphLes-x2m
@AdolphLes-x2m 2 ай бұрын
Hernandez Brian Thompson Kimberly Harris Ruth
@CarterYedda-o5g
@CarterYedda-o5g 2 ай бұрын
Martin Steven Anderson James Williams Scott
@EthanKofoid-n8b
@EthanKofoid-n8b 2 ай бұрын
Smith Shirley Hernandez Angela Walker William
@OmarBates-v9v
@OmarBates-v9v 2 ай бұрын
Young Linda Hernandez Daniel White Helen
Advanced Approval - Salesforce CPQ
5:44
Learn Salesforce CPQ
Рет қаралды 8 М.
Manage Amendments In Salesforce CPQ
14:38
Learn Salesforce CPQ
Рет қаралды 6 М.
We Attempted The Impossible 😱
00:54
Topper Guild
Рет қаралды 27 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 51 МЛН
Salesforce CPQ - Conditionally Hide Price Drawer Fields
6:13
Travis Lee
Рет қаралды 2,7 М.
Salesforce CPQ - Lookup Queries with Product Rules
16:24
Learn Salesforce CPQ
Рет қаралды 9 М.
Salesforce CPQ Session 7 : Quote Templates
1:34:23
DecodeSFCertifications
Рет қаралды 10 М.
Achieve Real Time Pricing using CPQ Quote Calculator Plugin & Restful APEX
39:40
Salesforce CPQ Quote calculator Plugin
5:58
Cpqhours - Salesforce Revenue cloud salesforce cpq
Рет қаралды 4,3 М.
Generative AI in a Nutshell - how to survive and thrive in the age of AI
17:57
Salesforce CPQ Calculation Sequence EP17
13:07
Salesforce Apex Hours
Рет қаралды 14 М.
Price Rules in Salesforce CPQ
11:06
Learn Salesforce CPQ
Рет қаралды 13 М.
Salesforce CPQ Custom Action Plugin
8:13
Learn Salesforce CPQ
Рет қаралды 2,9 М.
Session 7: Quote Line Editor in CPQ
10:13
sfdcamplified
Рет қаралды 766