SAP Knowledge Base Article - Public

3607369 - Scripting method SetEffectiveDate is not available

Symptom

The scripting method SetEffectiveDate is not available. An error appears:

"AttributeError: 'IQuoteProxy' object has no attribute 'SetEffectiveDate'"
and
"AttributeError: can't assign to read-only property EffectiveDate of type 'IQuoteProxy' "

Environment

SAP SALES CLOUD CPQ

Reproducing the Issue

  1. Open any quote
  2. Open Script Workbench:
    Quote.SetEffectiveDate( DateTime.Now)
    Quote.EffectiveDate = DateTime.Now

Resolution

This method introduced in 2505 is exclusive to Quote 2.0. The method is listed as available only for Quote 2.0: IQuote Interface.

See Also

IQuote Interface

Keywords

CPQ, scripting, script, effective date, date, quote, method , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed

Product

SAP CPQ 2025