Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows to Modify a Service Item >
SIS OM Edit Complex Asset Workflow
This workflow applies the changes for open and pending orders related to the selected asset and displays the requested state in the Product Configurator view. After the user makes the changes that specify the newly requested state, the workflow writes the delta of the two requested states as quote line items and adds these line items to the active quote. The SIS OM Modify Products & Services Process calls this workflow as a subprocess. For information about the SIS OM Modify Products & Services Process workflow, see Siebel Order Management Guide. Figure 29 shows the SIS OM Edit Complex Asset Workflow.
Figure 29. SIS OM Edit Complex Asset Workflow
|
Workflow Description. This workflow performs the following actions:
- Clears the business service cache of existing product instances.
- Reads the asset from the database.
The workflow includes only components that do not have a status of Inactive. The workflow looks for all the orders with a status of Open or Pending that are related to the selected asset. The workflow applies the changes that those orders specify to re-create the state of the service product as the user requests it.
- Removes any components from the asset that do not have the Track As Asset flag set.
- Displays an error message if the asset is empty.
If an open or pending order disconnects the root component, or if no components have the Track As Asset flag set, then the result is an empty asset, and the workflow displays an error message.
- Tests for a customizable asset and interactive mode.
If the asset is customizable and the workflow is in interactive mode, then displays the asset in the Product Configurator view, where the user can make changes to it. If the asset is not customizable or the workflow is not in interactive mode, then goes directly to Step 9.
- Self-heals the asset so that the asset structure matches the product definition. If any changes are made to the asset, then a warning message appears.
- Displays the future requested state of the asset in the Configurator view.
- If the user clicks the Cancel button, then the workflow stops. If the user clicks the Done button, then this step retrieves the newly requested state from the Configurator.
- Retrieves the active document and adds as line items the delta of the previously requested state of the asset and the newly requested state of the asset.
- Sets the Due Date and Calculated Due Date field values for all the line items.
- If the active document is an order, then this step explodes (ungroups) the line items with a quantity greater than 1 into multiple copies of the line item, each with quantity 1.
- A decision point step checks the setting of the Enable AIA Comms system preference, and does one of the following:
- If the system preference is set to TRUE, then this step creates a one-time service charge item for the quote or order based on the type of target document. For more information, see SIS OM Add Service Charge Sub-Process Workflow.
- If the system preference is set to FALSE, then goes to Step 13 without creating a one-time service charge item.
- Generates a unique asset integration ID for all line items with an action code of Add.
- Saves the document to the database.
Table 30 shows the steps in this workflow that call business service methods.
Table 30. Associated Business Service Methods
|
Business Service Method Called |
Reset PMT Cache |
Reset |
Set Product Instance |
Set Product Instance |
Load Open Order Line Items |
Find Orders |
Set Apply Output Header |
Set Output Header |
Apply Changes |
Apply |
Trim |
Trim |
Set Requested Product Instance |
Set Product Instance |
Auto Match Port Ids |
AutoMatch |
Reconfigure Product Instance |
Reconfigure Product Instance |
Get Clicked Button |
Get Cfg Button Click Information |
Get Instance |
Get Product Instance |
Set Active Document Header |
Set Output Header |
Create Delta |
Delta |
Set Due Date |
Set Field Value |
Explode Line Item |
Explode |
Ensure New Line Item |
Set Field Value |
Sync Line Item |
Synchronize |
|