Symptom
In Deal view, when trying to update the name of one section that has another section distributed to it, the value of the section is not updated in database.
In the UI everything works as expected, but when we run a script to loop trough the values, the name in the results is not correct.
Environment
SAP SALES CLOUD CPQ
Reproducing the Issue
- Create a deal view/solution design tab.
- Open the tab and add 3 sections a1, b1, c1.
- Mark c1 as distributed and distribute it in a1 and b1.
- Run following script:
"quote = context.Quote
for section in quote.GetSections():
Trace.Write('main section : '+section.SectionPath)
for distributedsection in quote.GetDistributedSections(section):
Trace.Write('distributedsection : '+distributedsection.SectionPath)" - Note the distributedsection is a1/c1
- Go back to deal view tab and change the name of a1 to a2 and save it.
- Run the script again, main section has changed to a2, but in the distributedsection it remains a1/c1
Cause
Bug in the application.
Resolution
Tentative fix version is CPQ-2605 release.
Keywords
Deal, view, solution, design, section, distributed, script, retain, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error
Product
SAP CPQ 2026
SAP Knowledge Base Article - Public