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

SWISendOrder Workflow


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

Figure 102 illustrates the SWISendOrder workflow.

Figure 102. SWISendOrder Workflow

Workflow Description. This workflow performs the following actions:

  1. Validate. This step validates the input values.
  2. Error? This step determines whether a validation violation occurred.
  3. Stop Message. This step stops the workflow execution if an error has occurred.
  4. Update Line Item Status. This step updates the Status field.
  5. Query Order. This step queries for the Order Id that must be submitted. It derives the value of the UTCCanonical input parameter 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.
  6. Has item? This step checks whether there are any line items for the order.
  7. Stop Items. This step stops the workflow execution if no line items are present.
  8. Set Customer Details Change Flag. This step calls the subsequent business service.
  9. Get Parameters. This step gets the details of the Siebel Enterprise Server, language, and local values for the Siebel Server.
  10. Set Parameters. This step sets the details of the Siebel Enterprise Server, language, and local values in the request message to make an outbound service call.
  11. Call WS. This step calls the Web service that puts the message in Advanced Queue (AQ).

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

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

Validate

Validate

FINS Validator

Query Order

QueryById

SWI Order Upsert

Set Customer Details Change Flag

SetPreviousFlags

SWI External Integration Service

Get Parameters

GetEnterpriseParameters

SWI External Integration Service

Set Parameters

SetAttributesToMessage

SWI External Integration Service

Call WS

process

SWISubmitOrder_o2c

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