Symptom
- In SAP CPQ with the Parallel Quoting application parameter enabled, opening a quote does not properly initialize the active quote object.
- Scripts that access the quote object and its methods (e.g., Quote.GetCustomField()) fail with the following error:
NoneType object has no attribute GetCustomField - The same error can be reproduced by running such scripts directly in the Script Workbench while Parallel Quoting is enabled.
- Because the active quote object is unavailable, any custom buttons or UI elements on the quote whose visibility or behavior is controlled by scripts referencing the quote object are not rendered, even though they display correctly when Parallel Quoting is disabled.
- The issue is not limited to buttons — any script logic that depends on the active quote object is affected.
- Disabling Parallel Quoting restores expected behavior: the quote object is correctly returned, scripts execute without error, and the affected UI elements reappear.
Environment
SAP CPQ
Reproducing the Issue
- Navigate to Setup → General → Application Parameters → Shopping Cart and Quotes and confirm Parallel Quoting is set to True.
- Open any existing quote.
- Navigate to a tab containing custom buttons or UI elements controlled by scripts that access the quote object.
- Observe: Custom buttons/elements that depend on the quote object are missing.
- Open the Script Workbench and run a script that calls a quote object method, for example:
value = Quote.GetCustomField("FieldName") - Observe: Script fails with NoneType object has no attribute GetCustomField.
- Navigate to Setup → General → Application Parameters → Shopping Cart and Quotes and set Parallel Quoting to False.
- Reopen the same quote — the affected buttons now appear correctly and the script executes without error.
Cause
- A product defect in SAP CPQ version 2609 causes the active quote object to not be properly initialized when Parallel Quoting is enabled.
- The quote reference resolves to
Noneinstead of the open quote, causing all scripting logic that depends on quote-level object access to fail. - This also prevents script-controlled UI elements from rendering, since the script cannot evaluate the conditions needed to show or hide them.
Resolution
This issue is a confirmed bug; the fix is planned for release 2611.
Workaround:
Disable the Parallel Quoting application parameter:
- Navigate to Setup → General → Application Parameters → Shopping Cart and Quotes.
- Set Parallel Quoting to False.
- Save the changes.
Note: Disabling Parallel Quoting removes the ability for users to open the same quote simultaneously in multiple browser tabs.
See Also
Refer to: KBA 3753301 - Context Variable returns None in Script Workbench after Parallel Quoting is enabled
Refer to: Known Issues in SAP CPQ
Refer to: CPQ Release Notes
Keywords
Parallel Quoting, active quote object, NoneType, GetCustomField, Quote object, context.Quote, script error, buttons missing, script-driven UI, Script Workbench, IronPython, quote buttons not visible, sap cpq, bug , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error
SAP Knowledge Base Article - Public