Calculating True End Date and Subscription Term

The sample JavaScript script can be used in the Quote Line Calculator to calculate values and store maximum values for the custom quote line fields True Effective End Date and True Effective Term.

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 custom fields True Effective End Date and True Effective Term on the Quote Line object.