Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel Product Administration Guide > Siebel Configurator Scripts > About Siebel Configurator Script ProcessingYou can write event scripts or declarations scripts. Declarations scripts contain methods that can be called by event scripts and other declarations scripts. A script instance is created at the beginning of the associated event and destroyed at the end of the script execution. Variables defined in the declarations section of the script are meaningful only during script execution and do not persist after the script exits. For example, if a script is called because an item has changed, its variable values do not persist. The next time an item changes and the script runs again, the values of the variables from the first script execution are not available. The events for Siebel Configurator script processing are listed in the following paragraphs. EV_CFG_INSTINITIALIZEDThis event is generated once for each session after the root customizable product is instantiated and before any user requests are accepted. It triggers the execution of Cfg_InstInitialize (RootProd) of each product present in the current solution. The input parameter of the script is always the name of Root CP. EV_CFG_INSTCLOSEDThis event is generated once for each session after the user clicks Done to end a configuration session. After this event is generated, no further processing by the Siebel Configurator engine occurs. It triggers the execution of Cfg_InstPostSynchronize(RootProd) of the root CP. The input parameter of the script is always the name of the root CP. EV_CFG_ONCONFLICTThis event is generated when the Siebel Configurator engine encounters a conflict. It triggers the execution of Cfg_OnConflict(Explanation, Resolution) of the root CP. The input parameters of the script are:
EV_CFG_CHILDITEMSELECTEDThis event is generated before the Siebel Configurator engine computes a new solution. It triggers the execution of Cfg_ChildItemSelected (SelectedItem) for the root CP. The input parameter of the script is a PropSet, containing all the products whose quantities are about to change as elements: <SelectedItem ObjName= "objname" OldQty= "oldqty" NewQty= "newqty"> EV_CFG_CHILDITEMCHANGEDThis event is generated internally after the Siebel Configurator engine computes a new solution when detecting EV_CFG_ITEMCHANGED. It is issued together with EV_CFG_ATTRIBUTECHANGED. It triggers the execution of Cfg_ChildItemChanged(ChangedItem) of the root CP. The input Parameter of the script is a PropSet, containing all the products whose quantities have changed as elements: <ChangedItem ObjName= "objname" OldQty= "oldqty" NewQty= "newqty"> EV_CFG_ITEMCHANGEDThis event is generated after the Siebel Configurator engine computes a new solution. It triggers the execution of Cfg_ItemChanged (ProdName, OldQty, NewQty) of each product whose quantities have changed. The input parameters of the script are:
EV_CFG_ATTRIBUTESELECTEDThis event is generated before the Siebel Configurator engine computes a new solution. It triggers the execution of Cfg_AttributeSelected(ChangedItem) of each product whose attribute values are about to change. The input parameter of the script is a PropSet containing the changed attributes as elements: <strAttrName OldVal = "oldval" NewVal = "newval" > <strAttrName OldVal = "oldval" NewVal = "newval" > <strAttrName OldVal = "oldval" NewVal = "newval" > EV_CFG_ATTRIBUTECHANGEDThis event is generated after the Siebel Configurator engine computes a new solution. It triggers the execution of Cfg_AttributeChanged(ChangedItem) of each product whose attribute values have changed. The input parameter of the script is a PropSet containing the changed attributes as elements: <strAttrName OldVal = "oldval" NewVal = "newval" > <strAttrName OldVal = "oldval" NewVal = "newval" > |
![]() ![]() |
Siebel Product Administration Guide | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |