Siebel Advisor API Reference > Siebel-Specific Functions for Siebel Advisor >

CreateOpportunity()


Usage

Use the CreateOpportunity() function to create a sales opportunity in another Siebel application. This API sends information about the opportunity to the business service which creates a new sales opportunity.

Syntax

CreateOpportunity(name, prodID, questionAnswerString)

Argument
Description

name

The name of the sales opportunity.

prodID

A single simple product ID for the product to be added to the opportunity.

questionAnswerString

The context string to be stored in a notes field. Often, the result of BuildQuestionAnswerString will be used.

Example

ISS.CreateOpportunity(ISS.GetResultsValue("ROOT_PROD"), ISS.BuildQuestionAnswerString("How many users?", ISS.GetResultsValue("USERS.DESC")));

Siebel Advisor API Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.