Custom Package Total Calculation
The sample Apex class calculates the total price for all components in a quote line and then stores that value in a custom field.
| Required Editions |
|---|
| Available in: Salesforce CPQ Winter ’16 and later |
Salesforce CPQ no longer provides support for Legacy Quote Calculator plugins. Check out the Javascript Quote Calculator Plugin for support and improved features.
The sample script assumes the Salesforce admin created a custom field Component Custom Total on the Quote Line object.