Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows to Update Order Line Items >
SIS OM NSB Update Order Line Workflow
This workflow updates the status of order line items for nested service bundles. The field name and value of the line item to update as well as the row ID of the root order and the nested service bundle are passed to this workflow. Figure 28 shows this workflow. The SIS OM Order Line Item Update Main workflow calls this workflow as a subprocess.
Figure 28. SIS OM NSB Update Order Line Item Workflow
|
Workflow Description. This workflow performs the following actions:
- Query by Root_Id. This step gets the order hierarchy of the entire order using the row ID of the root order.
- if LineItemExists > 0. This step checks whether one or more line items exist for the order.
- Select Hierarchy Under Row_Id. This step gets the order hierarchy of the nested service bundle using the row ID of the nested service bundle.
- Set Field Service. This step iterates through the order hierarchy of the nested service bundle and updates those fields and values that are passed to the workflow.
- Merge Property Sets. This step merges the updated order hierarchy of the nested service bundle with the order hierarchy of the entire order to update the order hierarchy of the entire order.
- Set Product Instance. This step loads the order hierarchy that is not updated into memory.
- Compute EAI Operation. This step compares the updated order hierarchy with the order hierarchy that is not updated, and sets a flag for the fields with updated values.
- EAI Update Line Item. This step updates the database with the updated values.
Table 29 shows the steps in this workflow that call business service methods.
Table 29. Associated Business Service Methods
|
|
|
Query by Root_Id |
Query |
EAI Siebel Adapter |
Select Hierarchy Under Row_Id |
GetProductHierarchyUnderRow |
CMU External Integration Service |
Set Field Service |
SetFieldValue |
CMU External Integration Service |
Merge Property Sets |
MergePropertySet |
CMU External Integration Service |
Set Product Instance |
Set Product Instance |
SIS OM PMT Service |
Compute EAI Operation |
Compute EAI Operation |
SIS OM PMT Service |
EAI Update Line Item |
Update |
EAI Siebel Adapter |
|