Siebel Order Management Guide > Workflow Reference for Employee Asset-Based Ordering > Workflows to Disconnect a Service Item >
SIS OM Disconnect Asset Sub-process
This workflow applies the open and pending orders related to the selected asset to get its requested state. Then it creates quote line items to disconnect the selected asset in that state. It adds these line items to the active quote. This workflow is shown in Figure 49. The SIS OM Disconnect Products & Services Process initiates this workflow.
Figure 49. SIS OM Disconnect Asset Sub-process Workflow
|
Workflow Description. This workflow does the following:
- 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 specified by those orders. This re-creates the state of the service product as the user has requested 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 one of the open or pending orders disconnects the root component, or there are no components that have the 'Track As Asset' flag set, then the result is an empty asset. In this case, the workflow displays an error message.
- Retrieves the active document. The workflow generates the delta of the requested state of the asset and the future empty state of the asset. This creates line items to disconnect the asset. The workflow adds these line items to the active document.
- Sets the due date for the line items.
- Generates a new asset integration ID for any line item with an action code of Add.
- Saves the document to the database.
Associated Business Service Methods. Table 51 shows the steps in this workflow that call business service methods.
Table 51. SIS OM Disconnect Asset Sub-process Method Calls
|
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 |
|