Symptom
When attempting to add a Variant Product as Sub Item of another Variant Product an Error is thrown, not allowing to add the item as subitem.
Environment
SAP SALES CLOUD CPQ integrated with SAP Variant Configuration
Reproducing the Issue
- Create a Quote
- Add a Variant Product to it
- Run folliowing code:
- item = context.Quote.GetItemByItemNumber(1)
prod = ProductHelper.CreateProduct({SubItem_ID})
item.AsMainItem.AddSubItem(prod,1)
- item = context.Quote.GetItemByItemNumber(1)
- A Fatal is thrown in developer console and event log.
Cause
Bug.
Resolution
- Workaround: None
- Tentative Fix Version: CPQ-2502
See Also
Keywords
Variant, Subitem, Integration, Configuration, Product, CPQ , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Known Error
Product
SAP CPQ 2024