Symptom
Script snippet Product.IsComplete returns True even when the parent product is marked as incomplete in a Quote context for parent/child structure.
Environment
SAP SALES CLOUD CPQ
Reproducing the Issue
- Open a quote with a parent/child structure
- Make sure one child item is incomplete and parent is marked as incomplete too
- Open Script workbench
- Run "a = Product.IsComplete"
- Result it's True.
Cause
CPQ application expected behavior.
Resolution
Checking for the completeness of the whole parent/child hierarchy in scripting is not currently supported inside the Quote context, additional logic should be built in order to use product context and loop through the parent/child structure to get the get the completeness. MainItem snippet can also be used to return the completeness of the parent product.
Keywords
CPQ, script, incomplete, iscomplete, product, true , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Bug Filed