SAP Knowledge Base Article - Public

3788140 - Data is not preserved in Quote Table after Item Copy/Delete action for Currency data type

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

  1. Open quote
  2. Go to Quotation tab
  3. Copy/Delete a line
  4. Currency columns show 0.00 in the UI
  5. verify 0.40 in column for example via scripting/REST
  6. 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

Product

SAP CPQ all versions