Symptom
When parallel quoting is enabled, using Context.Quote in custom scripts results in the error "Error in script execution: SYSTEM_CPQ_QuoteFieldAccessLevel" in the Dev Console and Event Logs.
Environment
SAP CPQ
Reproducing the Issue
- Setup -> Quote -> Fields, Calculations, Layout -> Field Editability (Script).
- Read something from Context.Quote in the Script like Context.Quote.GetAllItems().
- Open any quote to run the Field Editability script.
- Check logs and observe the error indicating Context.Quote is None in SYSTEM_CPQ_QuoteFieldAccessLevel.
Cause
Bug in application.
Resolution
- Tentative fix version: 2608 (subject to change).
- Monitor this KBA and What's New Viewer History for SAP CPQ | SAP Help Portal for updates on the fix availability and version changes.
See Also
- Refer to: KBA 3487591 - Known Issues in SAP CPQ
- Refer to: KBA 3283912 - Bug in Application
- Refer to: KBA 3289626 - Release Notes for SAP CPQ
Keywords
parallel quoting, context.quote, NoneType, field editability script, SYSTEM_CPQ_QuoteFieldAccessLevel, quote visibility, quote item, script error, AttributeError, GetAllItems, Sales Cloud CPQ, Quote 2.0, multiple tabs, enable quoting in multiple tabs, environment variable , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem
Product
SAP CPQ all versions
SAP Knowledge Base Article - Public