Bookshelf Home | Contents | Index | PDF |
Siebel Product Administration Guide > Siebel Configurator API Reference > Instance APIs for the Complex Object Manager > GetConditionVal MethodThis method allows users to call and retrieve the values of the named expression variables. Input ArgumentsOutput ArgumentsIf the condition variable is found and evaluates to true, the property Result is set to Y in the output arguments. If not, the Result is set to N. For example, define a Product as follows: Product: Child1 (associated with Class1) Attribute: Att1 (which has the default value of one) Constraint: The attribute SekAtt1 = one sets the value of the procedural condition variable to true Product: Root (associated with Class1) You can use the following script: function Cfg_AttributeChanged (ChangedAttribute) var Service = TheApplication().GetService("Configurator Service"); var IntegrationID= AddItem("$.[Root]#1", "R1", "Child1", "1") var InputArgs = TheApplication().NewPropertySet(); var OutputArgs = TheApplication().NewPropertySet(); InputArgs.SetProperty("CondName", Variable); InputArgs.SetProperty("IntId", IntegrationID); Service.InvokeMethod("GetConditionVal", InputArgs, OutputArgs); Variable = OutputArgs.GetProperty("Result"); TheApplication().RaiseErrorText("True" ); |
Siebel Product Administration Guide | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |