Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows for Bulk Requests >
ABO Bulk Request - Edit Promotion Related Asset Workflow
This workflow is called iteratively when a user modifies a promotion. This workflow is called from the Edit Asset Selections step of the ABO Bulk Request - ModifyWebService-Order Workflow. Figure 75 shows this workflow.
Figure 75. ABO Bulk Request - Edit Promotion Related Asset Workflow
|
Workflow Description. This workflow performs the following actions:
- Reset PMT Cache. Clears the business service cache of existing product instances.
- Load Asset. Loads the asset for the specified integration id and active status.
- Set Product Instance. Sets the product instance.
- Load Open Order Line Items. Loads the active open orders for the specified asset integration Id.
- Set Apply Output Header. Saves the open order header in memory.
- Apply Changes. Applies the open order to the asset to create the future asset.
- Trim. Removes any components from the asset that do not have the Track As Asset flag set.
- Is Product Instance Empty. Checks whether the product instance is empty.
- Error Out. Displays an error message if the asset is empty.
- Set Requested Product Instance. Sets the requested product instance.
- Get Active Document. Retrieves the active document.
- Set Active Document Header. Saves the active order header in memory.
- Create Delta. Adds as line items the delta of the previously requested state of the asset, and the newly requested state of the asset.
- Set Due Date. Sets the due date.
- Go to Order? Goes to the order.
- Explode Line Item. If the active document is an order, explodes (ungroups) the line items with a quantity greater than 1 into multiple copies of the line item, each with a quantity of 1.
- Ensure New Line Item. Generates a unique asset integration Id for all line items with an action code of Add.
- Set Product Instance (EAI Op). Sets the EAI operation code.
- Prepare Sync Input (Set EAI_OPERATION codes). Prepares the synchronized input.
- Add Item To Collection. Adds the item to the collection.
Table 77 shows the steps in this workflow that call business service methods.
Table 77. Associated Business Service Methods
|
|
Reset PMT Cache |
Reset |
Load Asset |
Query |
Set Product Instance |
Set Product Instance |
Load Open Order Line Items |
Find Orders |
Set Apply Output Header |
Set Output Header |
Apply Changes |
Apply |
Set Requested Product Instance |
Set Product Instance |
Get Active Document |
Query |
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 |
Set Product Instance (EAI Op) |
Set Product Instance |
Prepare Sync Input (Set EAI_OPERATION codes) |
Compute EAI Operation |
Add Item To Collection |
AddItemtoCollection |
|