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

SWICancel Sales Order Workflow


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 110 shows this workflow.

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

Figure 110. SWICancel Sales Order Workflow

Workflow Description. This workflow performs the following actions:

  1. Validation Service. This step returns a soft validation message.
  2. Validation Message? This step checks whether a return validation message exists.
  3. Display UMF. This step displays the validation message in Universal Media Format (UMF).
  4. Cancel Error Mode is 1? This step checks the value of the Cancel Error Mode system preference.
  5. Update Fulfillment Mode. This step updates the fulfillment mode. If Cancel Error Mode is 1, then this step updates the fulfillment mode to Cancel.
  6. Update Status. This step updates the Status. If Cancel Error Mode is 1, then this step updates the status to Cancel Pending.
  7. Submit. This step calls the Submit Order workflow, SISOMBillingSubmitOrderWebService, as a subprocess. For more information, see Siebel CRM Web Services Reference.
  8. Refresh BC. This step refreshes the business component.
  9. Search for Future Dates Open Orders. This step searches for future-dated open orders. If the Cancel Error Mode is not 1, then this step checks whether future-dated orders for the current order exist.
  10. Any Future Dated Orders? This step checks whether any future-dated orders exist.
  11. Display Message. This step displays future-dated orders.
  12. Cancel Error Mode 2? This step checks the value of the Cancel Error Mode system preference. If the value is not 2, then this step proceeds to the End step.

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

Table 100. 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 © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices.