Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows to Edit Order Line Items >

SIS OM Edit Service Order Line Item Workflow


This workflow prevents new line items from being created for a deleted action code. It is called when the user customizes a product. This workflow applies active and unprocessed orders to the asset that is associated with the chosen line item and displays the asset in the Product Configurator view. The user makes changes to define the newly requested state and clicks Done. The workflow then writes the difference between the current and requested states of the asset to the current order as one or more line items.

Figure 13 illustrates the SIS OM Edit Service Order Line Item workflow.

Figure 13. SIS OM Edit Service Order Line Item

Workflow Description. This workflow performs the following actions:

  1. Reset PMT Cache. Clears the business service cache of existing product instances.
  2. Load Order Line Item. Checks the action code of the top-level component of the order line item. If the action code is Add, then goes to Step 9.
  3. Add Delete Service Charge? If the action code is not Add, then the workflow recursively loops through the input property set and gets the integration IDs for the line items. The input property set includes the order line items in the active document.
  4. Load Asset. Reads the asset that is associated with the chosen order line item from the Siebel database, excluding components that contain an Inactive status.
  5. Are Assets Present? Checks whether the asset is successfully loaded. If not, then goes to Step 9.
  6. Set Product Instance (Asset). Retrieves all prior active and unprocessed orders that are related to the asset and applies them to generate the requested future state of the asset.
  7. Trim. Removes asset components whose Track As Asset flag is not set.
  8. Is Product Instance Empty? If one of the active and unprocessed orders disconnects the top-level component, or if the Track As Asset flag is not set for any asset components, then the resulting asset is empty, and the workflow displays the following error message: A request has already been made to disconnect this service item. The workflow stops.
  9. Set Product Instance (Future). Applies the current order line item to the asset.
  10. Set Active Order Header. Stores the order header so that line items can be added to it.
  11. Auto Match Port Ids. Corrects the asset so that the asset structure matches the product definition. If any changes are made to the asset, then the workflow displays a warning message.
  12. Reconfigure Product Instance. Displays the currently requested state of the asset in the Product Configurator view. The user makes the required changes, then clicks Done or Cancel.
  13. Cancel Workflow? If the user clicks Cancel, then the workflow terminates. If the user clicks Done, then the workflow retrieves the newly requested state from the Configurator.
  14. Set Product Instance (Requested). Caches the newly requested state of the asset to use as an input in determining the delta.
  15. Create Delta. Generates the delta between the following as one or more order line items:
    • The requested state of the asset before the current order line item is applied.
    • The state of the asset after the user reconfigures it.
  16. Copy Integration Id. If the system preference Enable AIA Comms is set to True, then the Integration Ids of the deleted line item from Order Line Item process property are copied to the delta document, avoiding creation of new line items by retaining the existing Integration Ids.
  17. Explode Order Line Item. Ungroups into multiple line items any order line item that includes a quantity of more than 1, each with a quantity of 1. Writes the order line item to the Siebel database and refreshes the view.

    NOTE:  This step does not control the quantity of the line items. It only works with the quantity it is given. The user specifies order line item quantities in the Configurator.

  18. Set Product Instance (EAI Op). Performs one of the following:
    • If the Enable AIA Comms system preference is set to True, then the workflow creates a one-time service charge item for the order. For more information, see SIS OM Add Service Charge Order Sub-Process.
    • If the Enable AIA Comms system preference is set to False, then the workflow proceeds to Step 20 without creating a one-time service charge item.
  19. Added any service charge? Generates a unique asset integration ID for all line items that contain an action code of Add.
  20. Sync Order Line Item. Saves the document to the Siebel database.
  21. Go to Orders View. Navigates to the Order Line Item view.

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

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

Copy Fields

CopyFields

SIS OM PMT Service

Get Deleted Integration Id

TraverseHierarchy

SIS OM PMT Service

Copy Integration Id

MergeCompPropSets

SIS OM PMT Service

Set Product Instance (EAI Op)

Set Product Instance

SIS OM PMT Service

Prepare Sync Input (Set EAI_OPERATION codes)

Compute EAI Operation

SIS OM PMT Service

Ensure New Line Items

Set Field Value

SIS OM PMT Service

Refresh Business Component

Refresh Business Component

SIS OM PMT Service

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