How to use != in a Constraint when using Linked Items?
(Doc ID 1449037.1)
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.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.|