How to use != in a Constraint when using Linked Items?
Last updated on NOVEMBER 15, 2017
Applies to:Siebel Product Configurator - Version 188.8.131.52  and later
Information in this document applies to any platform.
****Checked for relevance on 14-Oct-2014****
Customer wanted to create a constraint which requires a child product depending on a header field.
It should work similar for Quote Header or Order Header. and hence decided to add 2 linked items.
These linked items take the current context and so have Needs Excution Flag not set.
So consider following two linked items without default values:
- Account Type Order which refers to field Account Type of bc Order Entry - Orders of bo Order Entry (Sales).
- Account Type Quote which refers to field Account Type of bc Quote of bo Quote.
and a constraint like:
When(Account Type Order != Residential OR Account Type Quote != Residential) excludes selection of WLAN from Connections)
The intention is to exlude WLAN for customers which are no Residentials and it should work in Quotes and Orders.
But the problem is that if you are working from Quotes linked item Account Type Order has not value and vice versa.
So you have a comparison against NULL. And what will be the result here?
Tests showed that it evalueates to true, but this is not documented and hence should not be relied on.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms