Siebel Order Management Guide Addendum for Communications > Workflows for Customer Asset-Based Ordering > Workflow That Ungroups Quotes >

CUT eSales - Ungroup Quote


This workflow decomposes all or some line items into multiple instances with a quantity of one when the original quantity is greater than one. This workflow decomposes the root item for the selected item and all the children for this root item into multiple instances.

If the user selects some line items and clicks the Ungroup button, FrameEventMethodUgroupSelected is called to ungroup only the selected line items. If the user selects no line items and clicks the Ungroup button, FrameEventMethodUngroupAll is called to ungroup all the line items. Figure 156 shows both variations of this workflow.

NOTE:  If you use the variation to ungroup all items, you must change the configuration by removing the select item column from the shopping cart.

The user initiates this workflow by clicking the Ungroup button in the Shopping Cart view.

Figure 156. CUT eSales - Ungroup Quote Workflow

Workflow Description. This workflow:

  1. If the user selects a quote line, retrieves the ID for the root level item.
  2. Reads the quote from the database.
  3. If the user selects some line items, and if the quantity of any component of a selected line item is greater than one, creates multiple copies of that line item, each with a quantity of one. If the user selects no line items, and if the quantity of any component of all line items is greater than one, creates multiple copies of that line item, each with a quantity of one.
  4. If the quote is not completely ungrouped, terminates.
  5. If the workflow does not terminate, writes line items to the database and refreshes the Shopping Cart view.

Table 144 shows the step in this workflow that calls a business service method.

Table 144. Associated Business Service Methods
Workflow Step
Business Service Method Called

Explode

Explode

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