Applies to:
Product Release: V7 (Professional)Version: 7.8.2.3 [19221] DEU
Database: Oracle 9.2.0.7
Application Server OS: Microsoft Windows 2003 Server SP1
Database Server OS: Microsoft Windows 2003 Server SP1
This document was previously published as Siebel SR 38-3178825161.
Symptoms
SBL-CFG-00109Hello!
I am currently trying to apply all constraints on a customizable product and some
of them base on default product selection. As I have learned from similar topics found in
SupportWeb, setting up product with Default Cardinality is not considered by configurator engine
as an addition operation. Therefore I wanted to use script with Cfg_InstInitialize event, which
should provide default values. Unfortuanately I can't make it work (product is not selected)
after starting configuration session in our DEV environment. I have made a small test, creating a
simple instance of customizable product both in Sample and DEV environment. The above mentioned
script works well in Sample. Could you please advise, how could I overcome this
problem.
Best regards
Solution
Message 1
For the benefit of other users,we could reproduce the behavior. AddItem on event CFG_InstInitialize generates following error:
CfgScript 0 3408 3740 C:\Programme\Siebel\7.8\web client\log\CfgScript.log 7.8.2.3 [19221] ENU
Error Error 1 0 2006-10-23 12:28:12
AddItem:
path=1,
port=Cables,
name=CFG Cable 15m,
qty=.
Mismatched brackets in following part of the path: 1
Please correct the error and try again. (SBL-CFG-00109)
The error comes from the new eScript engine and is fixed with 7.8.2.5 Fix Pack. Siebel has two JavaScript engines in the product, the newer one being called Strongly Typed engine has defect CR#12-1FZLBNF, which leads to using Parent Object Path instead of quantity.
Alternate workaround:
- In Siebel Tools goto Business Services "Configurator Session Service"
- Write a server script on event "Service_PreInvokeMethod":
function Service_PreInvokeMethod (MethodName, Inputs, Outputs)
{
if (MethodName == "ScriptRequest")
{
if (Inputs.GetProperty("RequestType") == "AddItem")
{
// check whether no quantity is set and set it to 1
var a = Inputs.GetProperty("Quantity");
if (a=="")
Inputs.SetProperty("Quantity","1");
else
if (toNumber(a)== 'NaN')
Inputs.SetProperty("Quantity","1");
}
}
return (ContinueOperation);
}
MORE ...
Message 2
CONT ...- Change code on CFG_InstInitialze
function Cfg_InstInitialize (RootProduct)
{
AddItem("<your root product path>","Cables","15m","<your root product path>");
}
Siebel Technical Support
Keywords. CFG_InstInitialize, AddItem, quantity, error, product path, escript
No comments:
Post a Comment