Bookshelf Home | Contents | Index | PDF | ![]() ![]() |
Siebel Product Administration Guide > Siebel Configurator Scripts > About Siebel Configurator ScriptsA script is a Siebel Visual Basic or Siebel eScript program that runs when a predefined event to which it is assigned occurs during a configuration session. These events occur at specific points when opening or closing a session or processing a user request. You can also place scripts in a declarations area for use by other event-based scripts. A script can refer to any product that has been added from the product table to a product with components. These are called component products. Scripts can also be used to set attribute values of component products and of the product with components, and of product classes. Scripts cannot be used to refer to relationships or links. NOTE: Scripting is not supported on the Product Administration business object. It is recommended that you use the Siebel Business Application for product administration, and create scripts to work with those products. Scripts have full access to the Siebel API. You can use scripts to call Siebel business components and to provide information to back-end databases through Siebel business services. For a description of basic API methods, see Siebel Configurator API Reference. In addition, several special Siebel Configurator methods are described in this chapter. These can be included in scripts and allow you to obtain information about the current solution. You can also use them to submit requests to the Siebel Configurator engine. For example, you can write a script and insert it into an event that is called each time an item quantity changes in the current solution. When the user selects or removes an item, this event is called and your script runs. The script can use Siebel Configurator methods to determine the amount of the item or of other items in the current solution and can submit a request to the Siebel Configurator engine to modify item amounts. The script could also perform special computations or update an external application based on information obtained from the Siebel Configurator methods. The items and rules that comprise the product are called the declarative portion. The declarative portion cannot be modified by scripts. For example, you cannot add or delete rules from a customizable product using scripts. Scripts are intended to add additional behaviors or features and can be used in several ways:
|
![]() ![]() |
Siebel Product Administration Guide | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |