Siebel Order Management Guide Addendum for Communications > Workflows for Promotion Groups > Workflows That Process Agreements >

ISS Promotion Create Agreement Details Workflow


This workflow is used to update assets that are covered by agreements. This workflow is called from ISS Promotion Agreement Management Sub Process to create new agreement items or update existing agreement items, and to update assets that are covered by agreements.

Figure 135 illustrates this workflow.

Figure 135. ISS Promotion Create Agreement Details Workflow

Workflow Description. This workflow performs the following actions:

  1. Query Account. Queries the current account to get the correct account context.
  2. Create New Agreement? Checks the CreateNewAgreementFlag value to see whether to create a new agreement or to update an existing agreement.
  3. Fetch Existing Agreement. Queries for an existing agreement.
  4. Find Agreement w/ Same Integration Id. Queries for an agreement.
  5. Agreement Exists? Checks the Agreement Id value to see if the agreement exists.
  6. Agreement Exists 2? Checks the Agreement Id value to see if the agreement exists.
  7. Create New Agreement. Creates a new agreement record and sets the field values.
  8. Is Promotion Component? Checks whether the installed asset is a component of the promotion.
  9. Create Agreement Details. Using the Copy Service business service, creates the items covered by the agreement.
  10. Create Agreement Details for Promotion Components. Using the Copy Service business service, creates the items with Type values of Promotion Component that are covered by the agreement.
  11. Create Agreement for Membership. Using the Copy Service business service, creates the items with Type values of Membership that are covered by the agreement.
  12. Load Existing Items. Loads the existing agreement items.
  13. Remove Existing Items. Removes existing, invalid agreement items.
  14. Set Component Hierarchy. Sets up the hierarchical relationship of the components in the agreement.
  15. For New Agreement Items? Checks whether the current agreement item is a new item.
  16. Update Agreement Item Status. Checks whether to update the Status value of the agreement item.
  17. Check Existing Agreement Items. Gets the existing agreement items.
  18. Root Item Already Created? Checks whether the root agreement item has been created.
  19. Create Covered Asset. Creates a covered asset for the root promotion item.
  20. Deactivate. Deactivates a component by setting the Status value of the agreement item to Inactive.
  21. Resume/Suspend. For a suspend component action, updates the status of the agreement item to Suspended. For a resume component action, this step updates the status of the agreement item to Active.

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

Table 130. Associated Business Service Methods
Workflow Step
Method Called
In Business Service

Create Agreement Details

InvokeCopyService

ISS Promotion Agreement Manager

Create Agreement Details for Promotion Components

CopyAgreementItem

ISS Promotion Agreement Manager

Create Agreement for Membership

CopyMembershipAgreementItem

ISS Promotion Agreement Manager

Load Existing Items

Query

EAI Siebel Adapter

Remove Existing Items

Delete

EAI Siebel Adapter

Set Component Hierarchy

SetHierarchy

ISS Promotion Agreement Manager

Create Covered Asset

InvokeCopyService

ISS Promotion Agreement Manager

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