Accelerator Salesforce CPQ Plugin for Pricing - Source

(0 reviews)

Configuration

The following example shows how to obtain the net unit price from the external system using the Accelerator Salesforce Experience API. The endpoint takes ProductId, CustomerId, AdditionalDiscount, and Quantity as Input, sends NetUnitPrice as the response, and updates the NetUnitPrice in the Salesforce CPQ Quote Line Items.

Prerequisite setup

  1. Create an APEX class to make a POST call to the Salesforce Experience API.

  2. Create a new Custom Script (SBQQCustomScriptc sObject) in Salesforce.

    sap-qcp-plugin-1.png

    1. Name the new Custom Script.
    2. Copy the QCP javascript code into the Code field on the Custom Script.
    3. Save the Custom Script.
    4. Copy the name of the custom script.

      sap-qcp-plugin-2.png

  3. In Salesforce, navigate to Setup -> Installed Packages -> Salesforce CPQ and click configure.

    sap-qcp-plugin-3.png

  4. Go to the Plugins tab in Salesforce CPQ settings and add the new Custom Script name into the Quote Calculator Plugin field.

    sap-qcp-plugin-4.png


Reviews

TypeCustom
OrganizationMuleSoft
Published by
MuleSoft Solutions
Published onOct 12, 2021
Asset overview

Asset versions for 1.4.x

Asset versions
VersionActions
1.4.0