Siebel Order Management Guide Addendum for Industry Applications > Workflows for Employee Ordering >

Editing Order Line Items


This workflow allows a user to edit order line items. It consists of the workflow process:

SIS OM Edit Service Order Line Item

This workflow applies active and unprocessed orders to the asset associated with the selected line item and displays the asset in the Product Configurator view. The user makes changes to define the newly requested state and clicks the Done button. The workflow then writes the delta of the current and requested states of the asset to the current order as 1 or more line items. This workflow is shown in Figure 6.

A user initiates this workflow by clicking the Customize button in the Order Detail view.

Figure 6. SIS OM Edit Service Order Line Item Workflow

Click for full size image

Workflow Description. This workflow does the following:

  1. Clears the business service cache of existing product instances.
  2. Loads the asset associated with the current order line item, if it exists.
  3. Checks the action code of the top-level component of the order line item. If the action code is Add, then go to Step 5.

  4. Retrieves all prior active and unprocessed orders related to the asset and applies them to generate the requested future state of the asset.
  5. If one of the active and unprocessed orders disconnects the top-level component, the resulting asset is empty. The workflow displays the following error message: "A request has already been made to disconnect this service item." The workflow stops.
  6. Applies the current order line item to the asset.
  7. Stores the order header so that line items can be added to it.
  8. Displays the currently requested state of the asset in the Product Configurator view. The user makes the required changes and clicks the Done or Cancel button.
  9. If the user clicks the Cancel button the workflow is terminated. If the user clicks the Done button, the newly requested state is retrieved from the Configurator.
  10. If the action code of the root item is not Add, the workflow processing caches the previously requested state of the asset to be used as an input to Delta.
  11. Generates the delta of the following as one or more order line items:
  12. Explodes (ungroups) any order line item that has a quantity of more than 1 into multiple line items, each with a quantity of 1. Writes the order line item to the database and refreshes the view.
  13. NOTE:  This step does not control the quantity of the line items, but only works with the quantity it has been given. The user specifies order line item quantities in eConfigurator.

Associated Business Service Methods. The following table shows the steps in this workflow that call business service methods.

Workflow Step
Business Service Method Called
Load Prior Open Order Line Items (Edited)
Find Orders
Set Product Inst: Current Asset
Set Product Instance
Set Asset Header
Set Output Header
Apply Changes: OpenOrders
Apply
Set Prod Inst: Requested Service Item
Set Product Instance
Set Asset Header2
Set Output Header
Apply Changes: Service Order Line ...
Apply
Set Active Order Header
Set Output Header
Create Delta
Delta
Explode Order Line Item
Explode
PMT Sync Order Line Item
Synchronize
Reconfigure Product Instance
Reconfigure Product Instance
Get Instance
Get Product Instance
Reset PMT Cache
Reset
Get Configure Button Click Information
Get Configure Button Click Information
Refresh Business Component
Refresh Business Component
Go back to Orders View
Go to View


 Siebel Order Management Guide Addendum for Industry Applications 
 Published: 18 April 2003