Siebel Pricing Administration Guide > Creating Product Offers > Workflow Reference for Product Offers >

RAF Apply Offer To Create Quote Web Service Workflow


RAF Apply Offer To Create Quote Web Service Workflow, shown in Figure 31, takes account, asset, and offer information and applies the offers for a nonresidential customer to create a quote. It also sends an error message as part of the output if there is an error while processing the offer. It is called while calling the method ApplyOfferToCreateQuote of the Web service Product Offer Web Service.

Figure 31. RAF Apply Offer To Create Quote Web Service Workflow

Workflow Description. This workflow performs the following actions:

  • Has Asset Id? This decision step checks whether the input of the Web service operation ApplyOfferToCreateQuote contains the asset Id. If so, it routes the flow to the step Query Asset With Asset Id. Otherwise, it routes the flow to the step Has Service Id?
  • Has Service Id? This decision step checks whether the input of the Web service operation ApplyOfferToCreateQuote contains the service Id. If so, it routes the flow to the step Query With Service Id. Otherwise, it routes the flow to the step Query Asset for Account Only.
  • Query Asset With Asset Id. This step calls the Query method of the business service EAI Siebel Adapter by using the Account Id and Asset Id to retrieve all the asset information for the specified account and asset.
  • Query With Service Id. This step calls the Query method of the business service EAI Siebel Adapter by using the Account Id and Service Id to retrieve all the asset information for the specified account and service.
  • Query Asset for Account Only. This step calls the Query method of business service EAI Siebel Adapter by using the Account Id to retrieve all the asset Information for the specified account.
  • IO Transformation. This step calls the method IntObjHierToPSHier of the business service IntObjHierToPSHier to transform the Input from Integration Object format to Property Set Format.
  • Get Context. This step calls the method GetRowSetData of the Context Service business service. It uses the variable map Default Product Offer Recommendation Variable Map - Context to get the account header information.
  • Get Rowset. This step calls the method GetRowSetData of the Context Service business service. It uses the variable map Default Product Offer Recommendation Variable Map - Row Set to get all asset information for the account.
  • Residential Account? This decision step checks whether the account in the input of the Web service operation ApplyOfferToCreateQuote is of the type Residential. If not, it routes the flow to the step RAF Create Document Workflow. Otherwise, it routes the flow route to the Stop step to set the error message.
  • Stop. This stop step sets the error message as part of output message of the Web service operation ApplyOfferToCreateQuote if the account is a residential account.
  • RAF Create Document Workflow. This step calls the subprocess RAF Create Document Workflow to apply the offer on the account, and it returns the Quote Id.
  • Active Doc Id? This step verifies if the offer is successfully applied by creating a quote with a non-null value for the DocId. If DocId (Quote Id) is NULL, it routes the flow to the step Query Empty Quote. Otherwise, it routes the flow to the step Detail Output?
  • Detail Output? This step verifies if DetailOutput is set to Y in the input to determine whether to set only the quote Id or the full quote structure as part of output message. If it is evaluated to TRUE, it routes the flow to the step Query Quote. Otherwise, it routes the flow to the step Query Empty Quote.
  • Query Quote. This step calls the Query method of the business service EAI Siebel Adapter by using the newly created quote after applying the offer. It takes the DocId (Quote Id) as input and returns the full quote structure as the output that will be part of the response message to the Web service call.
  • Query Empty Quote. This step calls the Query method of the business service EAI Siebel Adapter by querying a invalid quote to populate the empty value for the quote message which will be used as part of response message the Web service call.
Siebel Pricing Administration Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.