Siebel Pricing Administration Guide > Creating Product Offers > Workflow Reference for Product Offers >

RAF Prepare Header Sub Process Workflow


RAF Prepare Header Sub Process Workflow, shown in Figure 20, creates an order or quote header, depending on the account type and the Id of the active document. It is called as a subprocess from the Prepare Doc Header step of the parent workflow RAF Create Document Workflow.

Figure 20. RAF Prepare Header Sub Process Workflow

Workflow Description. This workflow performs the following actions:

  • Create Header rowset. This step calls the method Conditional Action Transform of the business service Row Set Transformation Toolkit to prepare an order or quote header property set, depending on account type.
  • Get Active Doc Id. This step calls the subprocess RAF Get Active Document Workflow to get the Active Doc Id (the row_id of the latest pending order or latest open quote).
  • Active Doc Id IS NULL? This decision step routes the flow to Sync Row Set if Active Doc Id is null. Otherwise, it routes the flow to Set Order Created Flag.
  • Sync Row Set. This step calls the method SynchronizeRowSet of the business service RAF Product Offers Service to prepare an Order or Quote context property set by getting the asset context from Default Product Recommendation Variable Map - Context.
  • Set Active Doc Id. This step calls the method Set Profile Attribute of the business service SIS OM PMT Service to set the value of the Order Profile Attribute Name or Quote Profile Attribute Name to Active Doc Id.
  • Set Order Created Flag. This step calls the method Echo of the business service Workflow Utilities to set the Order Created flag to Y.
Siebel Pricing Administration Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.