Siebel Interactive Designer API Reference > Siebel-Specific Functions >

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 Interactive Designer API Reference 
 Published: 18 April 2003