Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows to Disconnect a Service Item >
SIS OM Disconnect Asset Sub-Process Workflow
This workflow applies the changes for the open and pending orders related to the selected asset to get requested state of the asset, creates line items to disconnect the selected asset in that state, and adds these line items to the active document. Figure 33 shows this workflow. The SIS OM Disconnect Products & Services Process calls this workflow as a subprocess. For information about the SIS OM Disconnect Products & Services Process workflow, see Siebel Order Management Guide.
Figure 33. SIS OM Disconnect Asset Sub-Process 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.
- Retrieves the active document and generates the delta of the requested state of the asset and the future empty state of the asset to create line items to disconnect the asset in the active document.
- Sets the due date for each line item. 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 7 without creating a one-time service charge item.
- Generates a new asset integration ID for any line item with an action code of Add.
- Saves the document to the database.
Table 35 shows the steps in this workflow that call business service methods.
Table 35. 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 |
Set Active Document Header |
Set Output Header |
Create Delta |
Delta |
Set Due Date |
Set Field Value |
Ensure New Line Item |
Set Field Value |
Sync Line Item |
Synchronize |
|