Siebel Pricing Administration Guide > Siebel Pricer Deployment and Integration > Internal Integration of Siebel Pricer >

Triggering CalculatePriceForOpportunity


Use the following procedure to expose a button on the UI to trigger CalculatePriceForOpportunity.

To expose a button on the UI to trigger CalculatePriceForOpportunity

  1. Alter the Opportunity Product applet as follows:
    1. In the Object Explorer applet, drill down on Siebel Objects and Applet.
    2. In Applets, input the following:

      <New Query>

      Name = Opportunity Product Applet

      <Execute Query>

      Lock the project.

  2. Add Controls <Reprice>
    1. In the Object Explorer applet, click Control.
    2. In the Controls applet, input the following:

      <New Record>

      Name = Reprice

      Caption = Reprice

      HTML Type = MiniButton

      Method Invoked = CalculatePriceForOpportunity

  3. Display the Web template:
    1. In the Object Explorer applet, click Applet Web Template.
    2. In Applet Web Templates, input the following:

      Select Name = Edit List

      Menu: View, Editors, Web Applet Editor

  4. Add controls to the template as follows:
    1. Navigate to the Controls or Columns applet at the bottom left of the screen.
    2. Select Reprice, and then drag and drop to [x] next to last labeled control [Edit].

      Create a button on the UI to raise a signal.

Siebel Pricing Administration Guide Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.