Siebel Communications Guide Addendum > Workflow Reference > Workflows to Edit Order Line Items >
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 one or more line items. Figure 17 shows this workflow. A user initiates this workflow by clicking the Customize button in the Order Detail view.
Figure 17. SIS OM Edit Service Order Line Item Workflow
|
Workflow Description. This workflow:
- Clears the business service cache of existing product instances.
- 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.
- If the action code is not Add, recursively loops through the input property set (the order line items in the active document) and gets the integration IDs for the line items.
- Reads the asset associated with the selected order line item from the database, excluding components with a status of Inactive.
- Checks whether the asset is successfully loaded. If not, then goes to Step 9.
- Retrieves all prior active and unprocessed orders related to the asset and applies them to generate the requested future state of the asset.
- Removes the asset components that do not have the Track As Asset flag set.
- If one of the active and unprocessed orders disconnects the top-level component, or no asset components have the Track As Asset flag set, 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.
- Applies the current order line item to the asset.
- Stores the order header so that line items can be added to it.
- Self-heals the asset so that the asset structure matches the product definition. If any changes are made to the asset, a warning message appears.
- 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.
- If the user clicks the Cancel button, the workflow terminates. If the user clicks the Done button, retrieves the newly requested state from the Configurator.
- Caches the newly requested state of the asset to use as an input to Delta.
- Generates the delta of 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.
- 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.
NOTE: This step does not control the quantity of the line items, but only works with the quantity it is given. The user specifies order line item quantities in Configurator.
- Creates a onetime service charge item for the order. For more information, see SIS OM Add Service Charge Order Sub-Process.
- Generates a unique asset integration ID for all line items with an action code of Add.
- Saves the document to the database.
- Navigates to the Order Line Item view.
Associated Business Service Methods. The following table shows the steps in this workflow that call business service methods.
|
Business Service Method Called |
Reset PMT Cache |
Reset |
Get Deleted Integration Id |
TraverseHierarchy |
Set Product Instance (Asset) |
Set Product Instance |
Load Open Order Line Items |
Find Orders |
Apply Open Orders |
Apply |
Trim |
Trim |
Set Product Instance (Future) |
Set Product Instance |
Apply Order Line Item |
Apply |
Set Active Order Header |
Set Output Header |
Auto Match Port Ids |
AutoMatch |
Reconfigure Product Instance |
Reconfigure Product Instance |
Get Clicked Button |
Get Configure Button Click Information |
Get Instance |
Get Product Instance |
Set Product Instance (Requested) |
Set Product Instance |
Create Delta |
Delta |
Explode Order Line Item |
Explode |
Sync Order Line Item |
Synchronize |
Go to Orders View |
GotoView |
|