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
- Alter the Opportunity Product applet as follows:
- In the Object Explorer applet, drill down on Siebel Objects and Applet.
- In Applets, input the following:
<New Query>
Name = Opportunity Product Applet
<Execute Query>
Lock the project.
- Add Controls <Reprice>
- In the Object Explorer applet, click Control.
- In the Controls applet, input the following:
<New Record>
Name = Reprice
Caption = Reprice
HTML Type = MiniButton
Method Invoked = CalculatePriceForOpportunity
- Display the Web template:
- In the Object Explorer applet, click Applet Web Template.
- In Applet Web Templates, input the following:
Select Name = Edit List
Menu: View, Editors, Web Applet Editor
- Add controls to the template as follows:
- Navigate to the Controls or Columns applet at the bottom left of the screen.
- 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.
|