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 84 shows this workflow.

Figure 84. ABO Bulk Request - Edit Promotion Related Asset Workflow

Workflow Description. This workflow performs the following actions:

  1. Reset PMT Cache. This step clears the business service cache of existing product instances.
  2. Load Asset. This step loads the asset for the specified integration id and active status.
  3. Set Product Instance. This step sets the product instance.
  4. Load Open Order Line Items. This step loads the active open orders for the specified asset integration Id.
  5. Set Apply Output Header. This step saves the open order header in memory.
  6. Apply Changes. This step applies the open order to the asset to create the future asset.
  7. Trim. This step removes any components from the asset that do not have the Track As Asset flag set.
  8. Is Product Instance Empty. This step checks whether the product instance is empty.
  9. Error Out. This step displays an error message if the asset is empty.
  10. Is RAF. This condition step checks whether the flow is called from RAF. If so, it routes the flow to Reset Header, which uses the quote or order header from the input. If not, it routes the flow to Get Active Document flow, which queries for the active quote or order from data base.
  11. Reset Header. This step calls the Echo method of the Workflow Utilities business service to assign the quote or order header stored in the Instance argument in memory to the delta document, which is used for further processing, rather than using a database query to get the document.
  12. Set Requested Product Instance. This step sets the requested product instance.
  13. Get Active Document. This step retrieves the active document.
  14. Set Active Document Header. This step saves the active order header in memory.
  15. Create Delta. This step adds as line items the delta of the previously requested state of the asset, and the newly requested state of the asset.
  16. Set Due Date. This step sets the due date.
  17. Go to Order? This step goes to the order.
  18. Explode Line Item. 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 a quantity of 1.
  19. Ensure New Line Item. This step generates a unique asset integration Id for all line items with an action code of Add.
  20. Set Product Instance (EAI Op). This step sets the EAI operation code.
  21. Prepare Sync Input (Set EAI_OPERATION codes). This step prepares the synchronized input.
  22. Add Item To Collection. This step adds the item to the collection.

Table 74 shows the steps in this workflow that call business service methods.

Table 74. Associated Business Service Methods
Workflow Step
Method Called

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

Siebel Order Management Guide Addendum for Communications Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices.