Symptom
- A custom quote field does not reflect its expected editability state during the initial rendering of a quote.
- A custom quote field is editable when the quote is first opened, even though it is expected to be read-only.
- After performing a quote action, such as changing the quote status, adding items, or refreshing the quote, the field correctly becomes read-only.
- The initial quote initialization data indicates the field is editable, despite the expected field configuration.
Environment
SAP CPQ
Reproducing the Issue
- Open a quote.
- Observe that the custom field configured to be read-only is displayed as editable.
- Perform a quote action (for example, change the quote status, add an item, or refresh the quote).
- Observe that the field becomes readonly.
- Revert the quote action and observe that the field remains read-only.
Cause
A product defect has been identified in the quote item field editability processing. During a quote refresh, the field editability state of a custom field can be reset when the custom field is accessed programmatically (for example, through the context.Quote.GetCustomField() API), causing the field to revert to an unexpected editable state.
Resolution
- As a workaround, avoid invoking quote refresh methods from quote item field editability scripts until the product fix has been applied.
- A product defect has been identified and is scheduled to be resolved in SAP CPQ version 2611.
- After upgrading to the fixed version, re-test the initial rendering of the quote to verify that custom fields retain their expected editability state throughout the quote lifecycle.
See Also
- Refer to: Quote Table access level change via script
- Refer to: Known Issues in SAP CPQ
Keywords
customfield, readonly, first render, quote rendering, parallel quoting, custom field, editability, script, item editability, status change, initialization data, rendering order, field access level, cpq, version 2611 , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem
SAP Knowledge Base Article - Public