25
Siebel Cookbook Recipe Eight

On Demand Education Ltd - Siebel Cookbook Recipe 8

  • View
    1.416

  • Download
    2

Embed Size (px)

DESCRIPTION

From the Siebel Cookbook series on www.ondemand-education.com, PSP Pricing of Opportunities

Citation preview

Page 1: On Demand Education Ltd - Siebel Cookbook Recipe 8

Siebel Cookbook

Recipe Eight

Page 2: On Demand Education Ltd - Siebel Cookbook Recipe 8

The Recipe

• Implement a demonstration of Internal Integration of the PSP Engine in Siebel Enterprise

• This example appears in the Siebel Bookshelf but we had to make a few changes to get it to work.

Page 3: On Demand Education Ltd - Siebel Cookbook Recipe 8

The Ingredients

• Siebel Tools• Siebel Sample Database

Page 4: On Demand Education Ltd - Siebel Cookbook Recipe 8

Preparation

• Make sure you have a working Siebel Tools and Sample database, take a backup before you begin

• Take Archive Files of any of the Objects modified in this Cookbook, so that you can roll back easily.

Page 5: On Demand Education Ltd - Siebel Cookbook Recipe 8

Overview

• The example will implement PSP using the Opportunity Product Business Component– Users will be able to click the Get List Price

button and the Opportunity Product lines will be updated automatically by PSP

– The example uses Signals, Variable Maps and a Custom PSP Workflow

Page 6: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part One

• To implement the Opportunity Pricing begin by changing the Class of Opportunity and Opportunity Product– For more information about the licenses you need

and Classes see the Bookshelf

Page 7: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Two

• Create a Simple Button and Command to call a Method Name you can decide on now

Page 8: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Three

• Create Integration Objects and Integration Components to support the Variable Map we will use– Call it ISS Opportunity or something similar,

remember to update the Business Component User Properties for Opportunity and Opportunity Product

Page 9: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Three

• The Integration Object Components and their Fields will support our Variable Maps for our Row Sets– Opportunity will provide two fields, Name and

Account Price List Id– Opportunity Product will provide seven fields

such as the Product Id, Net Price and Cost

Page 10: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Four

• Create a Signal for your Button– The Signal uses

Workflow RunProcess and calls PSP Driver Workflow

– The SubPSPWFName is the Workflow we will create later

Page 11: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Four

• RowScope– If you want the button to reprice a single Line

Item, enter Selected– If you want to reprice the complete

Opportunity, choose enter All

Page 12: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Five

• Create Variable Maps to Support your new Opportunity and Opportunity Product Row Sets– Make sure to match Variable Names to the Integration

Component Field External Name – Respect Data Types paying attention to Currency,

Number, ID and Boolean fields in our Integration Components

Page 13: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Five

• Variable Maps– Make sure for each of the two Variable Maps

you use the name you provided in the Signal– Make sure for each Variable Map you provide

the Mode details in the Mode View Tab

Page 14: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Five

• Context Variable Map– In Modes View, add “Any, Header” to match

the Integration Object in Siebel Tools– Make sure you add two Fields– For the Price List Id Variable, make sure the

Source is $Current\Header\Account Price List Id

Page 15: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Five

• Row Variable Map– In Modes View, add “Any, Line Item”

• The Source for the Variable Maps– For Opportunity Product should be

$Current/Line Item/XXX where XXX is the External Name of the Integration Object Component Field

Page 16: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Six

• Create a Siebel Workflow– Start– Business Service– End

Page 17: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Seven

• Set up Two Process Properties of Type Hierarchy, to match those expected in the PSP Driver Workflow

Page 18: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Eight

• Set up the Input Arguments of the Business Service Row Set Transformation Toolkit, Simple Look Up Transform (see Zip File)

Page 19: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Nine

• Set up the Output Arguments of the Business Service Row Set Transformation Toolkit, Simple Look Up Transform

Page 20: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Ten

• The Workflow is provided as a downloadable XML File

• Compile all the modified Objects and Publish and Activate the Workflow

Page 21: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Eleven

• Create and Activate a Price List with at least one Price List Item with a Price

• Assign the Price List (Account > More Info) to an Account– Remember we used Account Price List Id to

provide the Price List for PSP

Page 22: On Demand Education Ltd - Siebel Cookbook Recipe 8

Part Twelve

• Execute the Workflow by Clicking the Button

Page 23: On Demand Education Ltd - Siebel Cookbook Recipe 8

Conclusion

• The PSP engine accepts RowSets and updates them according to our Pricing Workflow– Demonstrating Signals, Variable Maps and

Workflow

Page 24: On Demand Education Ltd - Siebel Cookbook Recipe 8

Files

• Zip file – With SIF Files of Siebel Tools Data– With XML of Workflow Process

Page 25: On Demand Education Ltd - Siebel Cookbook Recipe 8

Reference

• For the High-level steps you can follow the example in the Bookshelf, but use the files and Workflow provided here