Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows to Process a Quote >

SWISendQuote Workflow


This workflow is specific to the Order To Cash Process Integration Pack and submits a quote into AQ. It is called by the parent workflow Submit Quote ASI when the system preference Enable Order to Cash is set to TRUE.

Figure 107 illustrates the SWISendQuote workflow.

Figure 107. SWISendQuote

Workflow Description. This workflow performs the following actions:

  1. Validate Rules BS. Validates the input values.
  2. Is Check Failed? Determines if a validation violation occurred.
  3. Check failed. Workflow execution is stopped if any validation violation has occurred.
  4. Query Quote. Queries for the Quote Id that is submitted. Derives the value of the UTCCanonical input parameter for this step from the UTCCanonical process property. The default value of this property is N. If the value passed is Y, then the query returns data for any field of type DTYPE_UTCDATETIME in UTC Canonical format.
  5. Is there a line item? Checks if there are any line items for the quote.
  6. Stop - No Line Items. Workflow execution is stopped if no line item is found.
  7. Get AIA Parameters. Gets the Siebel Enterprise Server details and other parameters.
  8. Set AIA Parameters. Formats the parameters into a Siebel message format.
  9. Call WS Quote Svc. Calls the Web service that converts the message into AQ.
  10. Update Quote. Updates the quote status and other details that are obtained from the external application. Derives the value of the UTCCanonical input parameter for this step from the UTCCanonical process property. The default value of this property is N. If the value passed is Y, then any field of type DTYPE_UTCDATETIME in the payload must be in UTCCanonical format. While writing these fields into the business component, these fields are converted to the locale-specific date and time.
  11. Stop 1. Workflow execution is stopped, and the following error message is displayed: The call to the external system executed, but the response was not as expected. If logging is enabled, the response can be examined to assist in diagnosing the problem.
  12. Stop 3. Workflow execution is stopped, and the following error message is displayed: A configuration error occurred while preparing the message to submit to the external system. Have your system administrator check the Workflow for the step that sets the external application attributes.

Table 106 shows the steps in this workflow that call business service methods.

Table 106. Associated Business Service Methods
Workflow Step
Method Called
In Business Service

Validate

Validate

FINS Validator

Query Quote

QueryById

SWI Quote Upsert

Get AIA Parameters

GetEnterpriseParameters

SWI External Integration Service

Set AIA Parameters

SetAttributesToMessage

SWI External Integration Service

Call WS Quote Svc

process

SWISubmitQuote_o2c

Update Quote

InsertOrUpdate

SWI Quote Upsert

Siebel Order Management Guide Addendum for Communications Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.