Bookshelf Home | Contents | Index | PDF |
Siebel Advisor API Reference > Siebel-Specific Functions for Siebel Advisor > GetPriceUsageUse the GetPrice function to return and display the final price of the selected product for the user. When the call is made, a pop-up window will display showing the current product price. The price will include any pricing adjustments if configured within the Siebel pricing engine. GetPrice can be called from any frame within the application and can be executed anywhere a JavaScript function can be used. It is commonly called from the onClick event handler of a link, but can also be referred to from an image map, set as the SUBMIT method of an embedded frame, or called from another user-defined JavaScript function. Refer to the Runtime Access to Your Pricing Information topic in Siebel Advisor Administration Guide for more information. SyntaxGetPrice(productDescriptionString)
ExampleISS.GetPrice(ISS.GetBusCompID("CAR.COLOR")); ISS.GetPrice(ISS.GetResultsValue("CONSTRUCTED_PRODUCT")); Additional Pricing FunctionsYou can modify the behavior of GetPrice by using the following functions. Call these functions from the customCode.js file if they are application specific. Call them from the _i file if they are page-level specific.
For more information on these functions, see Callout Point Functions for Siebel Advisor. Accessing the Additional Pricing FunctionsUse the following accessories to the price object to access the additional pricing functions: |
Siebel Advisor API Reference | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |