Loading

Salesforce CPQ error 'Contract Term must be a positive value' on a Contract

Publiceringsdatum: Jan 15, 2026
Beskrivning

When contracting an opportunity, the generated contract(s) record must have a Contract Term (months) value of at least 1 in order to generate. The proration, start and end dates control the Contract record's term.

Lösning

When contracting an opportunity (or order), the generated contract(s) record must have a value of at least 1 in order to generate. The proration, start & end dates control the Contract record's term.

A contract term requires at least a value of 1 in order to be created. The term is based on the package level Subscription Prorate Precision (located in Setup | Installed Packages | Salesforce CPQ | Configure | Subscriptions and Renewals | Subscription Prorate Precision) and the Effective Start Date and Effective End Date fields on the quote line.

Example of how error is triggered

Subscription Term Unit: Month
Subscription Prorate Precision: Monthly + Daily
​Q-00000 Data:
Quote Line Effective Start Date = 2/1/2026
​Quote Line Effective End Date = 2/10/2026

In the above described case, the prorate multiplier is 0.3288, which is less than 1. Contracts won't generate if the contract term is not equal to or greater than 1. 

An error message will be emailed to the quote owner indicating that the contract term doesn't meet core platform requirements.
 

"Errors occurred while creating 1 contract(s).
Errors while contracting quote [name]:
1) Contract Term must be a positive value.: Contract Term"


A full roll back occurs when even one contract doesn't meet the Salesforce core field validation for Contract term -- in other words, no other contracts will be created when one contract record fails. (Note: The Contracted checkbox remains checked)

Change the Start Date or End Date to ensure each contract record is generated with a value of at least 1.

 

Note: Contracting for less than 1 month term in Salesforce CPQ is supported with the following setup:

  • Subscription Term Unit = Day, Subscription Prorate Precision = Day
    • Path: Setup | Installed Packages | Configure > Salesforce CPQ | Subscription and Renewals | Subscription Term Unit, Subscription Prorate Precision
  • Contract Setting: Auto-calculate Contract End Date = False
    • Path: Setup | Contract Settings | Auto-calculate Contract End Date

 

Ytterligare resurser
SEE ALSO
Knowledge-artikelnummer

000383338

 
Laddar
Salesforce Help | Article