Loading
Salesforce now sends email only from verified domains. Read More
Manage Your Quotes with CPQ
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Custom Script Fields

          Custom Script Fields

          When using the Quote Calculator Plugin to call a CPQ custom script, it’s important to understand what values to enter in fields. (Salesforce CPQ Managed Package)

          Required Editions

          Available in: Salesforce CPQ Winter ’16 and later
          Field API Name Description
          Code SBQQ__Code__c JavaScript code that is executed. Code must be complete and valid JavaScript.
          Consumption Rate Fields SBQQ__ConsumptionRateFields__c

          The API names of consumption rate fields referenced in this script. Enter up to 10 fields, one on each line. Fields that aren’t listed can’t be used in the script.

          Available in Salesforce CPQ Spring ’19 and later.

          Consumption Schedule Fields SBQQ__ConsumptionScheduleFields__c

          The API names of consumption schedule fields referenced in this script. Enter up to 10 fields, one on each line. Fields that aren’t listed can’t be used in the script.

          Available in Salesforce CPQ Spring ’19 and later.

          Created By CreatedBy The username of the user who created the script
          Last Modified By LastModifiedBy The username of the user who last edited the script
          Owner SBQQ__Owner__c The username of the user who owns the script
          Quote Fields SBQQ__QuoteFields__c The API names of fields on the quote object referenced by the script. Fields that aren’t listed can’t be used in the script. Enter one field per line, but don’t enter fields you don’t need. The more fields you enter, the slower the script runs.
          Quote Line Fields SBQQ__QuoteLineFields__c The API names of fields on the quote object referenced by the script. Fields that aren’t listed can’t be used in the script. Enter one field per line, but don’t enter fields you don’t need. The more fields you enter, the slower the script runs.
          Quote Line Group Fields SBQQ__GroupFields__c The API names of fields on the quote object referenced by this script. Fields that aren’t listed can’t be used in the script. Enter one field per line, but don’t enter fields you don’t need. The more fields you enter, the slower the script runs.
          Script Name Name The name of the script
           
          Loading
          Salesforce Help | Article