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

SWICancel Sales Order


This workflow cancels an entire sales order and submits the order. It also displays an error or warning message pertaining to future-dated orders that are dependent on the System Preference value Cancel Error Mode. The values can be 1, 2 or 3 (Default). The user must enter the reason to cancel the order in the new Cancel Reason field on the Sales Order screen. Figure 102 shows this workflow.

A user initiates this workflow by clicking the Cancel Order button in the Sales Order screen, Line Items view.

Figure 102. SWICancel Sales Order Workflow

Workflow Description. This workflow performs the following actions:

  1. Returns a soft validation message.
  2. Checks whether a return validation message exists.
  3. Checks the value of the Cancel Error Mode system preference.
  4. Updates the fulfillment mode. If Cancel Error Mode is 1, updates the fulfillment mode to Cancel.
  5. Updates the Status. If Cancel Error Mode is 1, updates the status to Cancel Pending.
  6. Calls the Submit Order workflow, SISOMBillingSubmitOrderWebService, as a subprocess. For more information, see Siebel CRM Web Services Reference.
  7. Searches for future-dated open orders. If the Cancel Error Mode is not 1, checks whether future-dated orders for the current order exist.
  8. Checks whether any future-dated orders exist.
  9. Displays future-dated orders.
  10. Checks the value of the Cancel Error Mode system preference. If the value is not 2, proceeds to the End step.

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

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

Validation Service

Validate

FINS Validator

Display Message

DisplayMessages

Verify Management Service

Search for Future Dates Open Orders

FormMsgForCancellation

CMU External Integration Service

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