Bookshelf Home | Contents | Index | PDF |
Siebel Pricing Administration Guide > Siebel Pricer Deployment and Integration > External Integration of Siebel Pricer Using Pricer as a ServiceYou use Pricer as an external service if you do not want to use the Siebel interface, but only the Siebel pricing engine. The Siebel pricing engine must receive data in a particular format, which is called the property set. Integration involves getting data in that format and passing it to the pricing procedure. A typical flow for this type of external integration is as follows:
The following example illustrates this process. A simple product and a complex product with a component product are created. A price list is then created and the products are associated with it, as shown in Figure 49. Products are added to the quote, as shown in Figure 50. As expected, prices are stamped on each of the products, and all the steps under Internal Integration are performed to produce the prices. Now, instead of using the Siebel application interface to create the quote, the following script is used to create the quote: function Service_PreInvokeMethod (MethodName, Inputs, Outputs) var xmlFile = "C:\\pricer_input.xml"; var procedureName = "Dynamic Pricing Procedure"; var psXMLSvcInputs = TheApplication ().NewPropertySet (); var psPricingProcedureInputs = TheApplication ().NewPropertySet (); var psPricingProcedureOutputs = TheApplication ().NewPropertySet (); // In this example, Read the Property Set from an XML file. // The Property Set contains a simple product and a complex product to be priced. // This can be generated from other sources as well, such as from // external systems, as long as the Property Set conformed to the format var xmlSvc = TheApplication().GetService ("EAI XML Read from File"); psXMLSvcInputs.SetProperty ("FileName", xmlFile); xmlSvc.InvokeMethod ("ReadPropSet", psXMLSvcInputs, psPricingProcedureInputs); // After the property set is created, the "Dynamic Pricing Procedure" WF // is invoked. The output would contain the simple product and the complex // product with updated pricing information. var wfSvc = TheApplication().GetService ("Workflow Process Manager"); psPricingProcedureInputs.SetProperty ("ProcessName", procedureName); wfSvc.InvokeMethod ("RunProcess", psPricingProcedureInputs, psPricingProcedureOutputs); The first function in this script contains three essential processes for external integration:
|
Siebel Pricing Administration Guide | Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |