Loading

CPQ Contract End Date behavior when Auto-calculate Contract End Date is enabled

Data pubblicazione: Dec 30, 2025
Descrizione
Salesforce CPQ can use Contracts to manage your Subscriptions and Assets. When a Contract is generated by Salesforce CPQ, the Quote (or Order) Start Date and Subscription Term or End Date are used to calculate and populate the Contract's Start Date and End Date. Then the Contract Term is populated with the difference between the months of the Contract Start Date and Contract End Date. 

If your Contract Settings have Auto-Calculation of Contract End Dates enabled when Salesforce CPQ generates a Contract, the auto-calculation overrides the Salesforce CPQ calculated Contract End Date. The result may be a Contract End Date, which does not match your original Quote or Order.
Risoluzione

We recommend that 'Auto-calculate Contract End Date' is set to FALSE so that it doesn't override the Contract End Date calculated by Salesforce CPQ. 
 

Auto-calculate Contract End Date set to FALSE

When a Contract is generated, it uses the Subscription term defined on the Quote to populate Contract Start Date (API StartDate) and Contract End Date (API EndDate). From there, Contract Term (API Contract Term) is populated with the difference between the months of the start and end dates. This does not use days in the calculation, just the difference in the month fields.
 

Example:

Quote FieldsContract Fields
Start Date: March 1, 2025StartDate: March 1, 2025
End Date: August 30, 2025EndDate: August 30, 2025
Subscription Term: NullContract Term (months): 5


Auto-calculate Contract End Date set to TRUE

When a Contract is generated, it uses the Subscription Term defined on the Quote to populate Contract Start Date (API StartDate) and Contract Term (API Contract Term) based on what it would have populated from the previous example. The Contract End Date is then calculated based on the values from these two fields.
 

Example:

Quote FieldsContract Fields
Start Date: March 1, 2025StartDate: March 1, 2025
End Date: August 30, 2025EndDate: July 31, 2025
Subscription Term: Null Contract Term (months): 5


This occurs because of how 'Auto-calculate End Date' manipulates the Contract End Date using Contract Term; the end date rolls back to July 31 because the full month of August has not been encompassed. If this is causing issues in your organization, you can make 'Auto-calculate End Date' false by following these steps:

  1. From Setup, enter Contract Settings in the Quick Find box, then select Contract Settings.
  2. Change the 'Auto-calculate End Date' checkbox to false.
     

Considerations:

  • When Auto-calculate Contract End Date is Enabled, the Contract End Date field permissions cannot be changed, they are read-only.
  • When Auto-calculate Contract End Date is Disabled after being Enabled, the field-level security is still read-only for all non-admin profiles and must be manually updated in order for CPQ to set the end dates when a user contracts an opportunity.
Numero articolo Knowledge

000384288

 
Caricamento
Salesforce Help | Article