SAP Knowledge Base Article - Public

3368998 - Script execution doesn't work on Inactive Quote Revision in CPQ

Symptom

When user attempts to run a script on an Inactive Quote Revision, Script is not executed. 

Environment

SAP SALES CLOUD CPQ

Reproducing the Issue

  1. Create a script that will attempt to modify a quote, and run it in the script workbench
  2. Observe that it is not executed on the inactive revision of the quote.

Cause

Expected behavior.

Resolution

  • Inactive Revision of a Quote is not in Context for script execution.
  • Prior to attempting to modify any inactive revision, the script must turn the inactive revision to active, in order for it to be in context. 

See Also

Keywords

Scripting, Script, Context, Revision, Inactive, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed

Product

SAP CPQ 2023