Symptom
MarketFactor and ExchangeRate is loaded as 0 from db when loading quote in scripting and Sales Area is in use , resulting that all currency fields are displayed with value 0.
Environment
SAP CPQ
Reproducing the Issue
- Open quote
- Go to Quotation tab
- Copy/Delete a line
- Currency columns show 0.00 in the UI
- verify 0.40 in column for example via scripting/REST
- refresh , 0.40 returns.
Cause
Sales Area is enabled: when a quote is accessed through scripting, MarketFactor and ExchangeRate are loaded from the database with a value of 0. If the quote table is not initially loaded through scripting, MarketFactor is correctly set to 1 at runtime. However, when the quote table is loaded for the first time for scripting purposes, the factor remains 0. As a result, all currency fields in the quote table display 0.
Resolution
- This is a bug
- ETA 2611
Keywords
Sales area, quote, currency, data, delete, copy, actions, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error
SAP Knowledge Base Article - Public