Siebel Order Management Guide Addendum for Communications > Workflows for Employee Asset-Based Ordering > Workflows for Bulk Requests >

ABO Bulk Request - Edit Complex Asset Workflow


This workflow picks the assets associated to a promotion and creates an order or quote, depending on the Mode value of the bulk request. Figure 75 shows this workflow.

This workflow is called when a user modifies a promotion.

Figure 75. ABO Bulk Request - Edit Complex 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 given Integration Id and active status.
  3. Set Product Instance. This step saves the asset in memory.
  4. Load Open Order 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 to Y.
  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. Set Requested Product Instance. This step saves the future asset in memory.
  11. 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 database.
  12. 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.
  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 for all the line items.
  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. Add Service Charge? This step determines whether to add a one-time service charge item for the quote or order.
  20. Add Service Charge. This step creates a one-time service charge item for the quote or order according to the type of target document. For more information, see SIS OM Add Service Charge Sub-Process Workflow.
  21. Ensure New Line Items. This step generates a unique asset integration ID for all line items with an action code of Add.
  22. Set Product Instance (EAI Op). This step sets the EAI operation code.
  23. Prepare Sync Input (Set EAI_OPERATION codes). This step prepares the synchronized input.
  24. Sync Line Item. This step saves the document in memory.

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

Table 64. 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

Trim

Trim

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

Sync Line Item

AddItemtoCollection

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