There seems to be no option to change the Editability of a Quote Item Custom field or of Quote Custom field in Quote 2.0 engine tenants, via scripting.
SAP SALES CLOUD CPQ
- CPQ doesn't support changing the QICF's (Quote Item Custom Field) editability via scripting in both Quote 1.0 and 2.0 engines.
- But it is indeed possible to change the editability of custom field in Quote 2.0 engine.
- Note: In order for this to work, the script including this code below should be attached to "Before quote rendering" Event as a global script.
- This is the code snippet example of how it should be done for Quote Custom Field:
from Scripting.Quote import AccessLevel
context.Quote.GetCustomField("<CF_Name>").AccessLevel = AccessLevel.Editable
Please Note: If customer needs to have editability option for QICFs via scripting, then they need to submit an enhancement request from the Influence portal.
Customer Influence portal is the go-to place for all SAP CPQ customers to share improvement/enhancement ideas for SAP CPQ solution. Customer influence portal also allows other customers to collaborate and contribute with scenarios, ideas, and creative thinking to turn good ideas into great SAP CPQ features. Customers and partners can collaborate with SAP CPQ Product Management in designing new SAP CPQ features.
Quote Custom Field, Quote Item Custom field, Quote 2.0 tenant, Custom Field, QICF, editable, editability, Before quote rendering Event, Event trigger, global script, context.Quote, AccessLevel, code snippet, import, Scripting.Quote, limitation, enhancement request, via scripting, ironpython, python , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem