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

SWIOrderUpsert Workflow


This workflow performs the following tasks:

  • Makes a backup copy of an order.
  • Updates the order details.
  • Cascades down update.
  • Triggers an auto asset.

Oracle Application Integration Architecture uses this workflow to update the order details through the SWIOrderUpsert inbound Web service. It is called when an order update arrives from Oracle Application Integration Architecture. This workflow is exposed as an inbound Web service and is used by the Siebel application to update or insert an order. This workflow decides on the basis of the system preference whether it calls the Order To Cash Process Integration Pack Order Upsert workflow or follows the communications workflow.

The UTCCanonical flag is N by default. To turn this default behavior on, you must change the default value for the UTCCanonical process property in the SWIOrderUpsert workflow to Y. This setting requires that updates from the Siebel application must be in UTC Canonical format. Because the process property is an Input process property, you can set the value of the UTCCanonical flag to Y or N from the Siebel application.

Figure 99 illustrates the SWIOrderUpsert workflow.

Figure 99. SWIOrderUpsert

Workflow Description. This workflow performs the following actions:

  1. Is O2C Enabled? Checks for the Enable AIA OrderToCash system preference and calls the O2C Order Upsert Workflow if the Is O2C Enabled property is set to True.
  2. O2C Order Upsert. Calls the SWI Order Upsert_O2C subprocess.
  3. Get Header Field Value. Gets the Order Id value. Takes SiebelMessage, Fieldnames, HierarchyNode, and MaxField as input.
  4. Is Copy Order. Checks the status of the Backup Order Flag.
  5. Copy Order. If the Backup Order Flag is set to True, this subprocess calls the SWICopyOrder workflow to make a backup of the order details. For details, see SWICopyOrder.
  6. EAI Update. Uses an input flag named UTCCanonical. This flag is N by default. If this flag is Y, then data from the Siebel application must be in UTC (Coordinated Universal Time) and canonical format. The data in UTC and canonical format is converted to Siebel object manager format as determined by the value of the UTCCanonical flag.
  7. RunOnWorkflowProcMgr? Checks whether the RunOnWorkflowProcMgr process property is set to Y. If this process property is set to Y, this step runs the SWIOrderUpsertSubProcess workflow on a different server component.
  8. OrderUpsert_SubProcess. Calls the SWIOrderUpsertSubProcess workflow.
  9. Convert to XML Document. Converts the Siebel message to a string that can be submitted to the Server Request business service to be run on a different server component.
  10. Execute Sub Process. Runs the workflow on a different server component.

    The default value of the literal Mode, which is an input to this step, is Sync. To make the call asynchronous, change the Mode value to DirectDB.

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

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

Get Header Field Value

GetFieldValue

CMU External Integration Service

EAI Update

Upsert

EAI Siebel Adapter

Execute Sub Process

SubmitRequest

Server Requests

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