Symptom
Columns are being deleted when using DCOL condition in a container if the value is decimal as and the condition set in the tag is 0.
Environment
SAP SALES CLOUD CPQ
Reproducing the Issue
- Use the following tag in a document template only changing the column value to an exist container <<CONTAINER_TAG(<*CTX(Container().Row().Column().Get)*> ),0=DCOL>>
- Create a Quote
- In product configurator select a container with any decimal value, for example 0.5
- Save the product and return to the quote
- Generate a document
- Check in the generate document that the column with the decimal value was deleted.
Cause
Bug in the application.
Resolution
- Tentative fix version is CPQ-2508 release.
- As a workaround a regex can be used instead of the 0 condition as following example: "<<CONTAINER_TAG(<*CTX(Container().Row().Column().Get)*> ),0[.]0+$|^0$=DCOL>>".
Keywords
CPQ, document, generation, DCOL, tag, decimal , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error
Product
SAP CPQ 2025