BatchValidate Not Showing Compatibility Errors With Product Having Constraints (Doc ID 2165394.1)

Last updated on MARCH 02, 2017

Applies to:

Siebel CRM - Version 8.1.1.11 [IP2013] and later
Information in this document applies to any platform.

Symptoms

BatchValidate should show consistent results from UI and from NonUI context for Compatibility Rules

BatchValidate throws below error in configurator page

Based on the existing compatibility and eligibility rules TEST CHILD 1 is not eligible: TEST CHILD 1 requires Accessories(via rule TEST CHILD 1 requires
Accessories).

However when BatchValidate is invoked from NonUI context, the same does not happen if there are any constraints for Root Products.

 

Steps to Replicate
===========
1. Product structure

TEST ROOT, check eligibility
|
-- TEST CHILD 1, check eligibility, --> relation: TEST REL1
|
-- TEST CHILD 2 --> relation: TEST REL2
|
-- TEST CHILD 3 --> relation: TEST REL3

2. Compatibility Rule example:
Subject Product: TEST CHILD 1, Object Product Line: Accessories, Type:Requires

3. Constraint under root example:
NAME: TEST CONSTRAINT
Constraint: Selection of TEST CHILD 1 from TEST REL 1 requires selection of TEST CHILD 2 from TEST REL2
Explanation: TEST AGAINST COMPATIBILITY

Steps:

1. Create a Order under account : TEST ORDER
2. Add Root = TEST ROOT
3. click button 'Customize"
4. add product = TEST CHILD 1
5. product = TEST CHILD 2 will be added automatically
6. save configuration with "compatibility error" .
I got the following error:
Based on the existing compatibility and eligibility rules TEST CHILD 1 is not eligible: TEST CHILD 1 requires Accessories(via rule TEST CHILD 1 requires
Accessories).)

For the same order when BatchValidate is invoked from NonUI Context the output comes as valid

Output

Batch_spcValidation_spcStatus="Valid"

 

When the constraint is removed the BatchValidate gives the right status

 

Batch_spcValidation_spcStatus="Invalid"

Expl0="The item that you are trying to customize contains invalid sub-items or attributes or does not comply with the corresponding customizable product definition. Do you wish to proceed and have the invalid selections removed or fixed?"

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms