Show / Hide Table of Contents

CreateOpportunity(String,String,Single) Method

The name of the Opportunity.

Sales stage for the opportunity.

Probability of opportunity close.

Used to create a new Opportunity. This overload takes a set of required parameters for the API.

Syntax

'Declaration

Public Overloads Function CreateOpportunity( _
   ByVal _opportunityName_ As String, _
   ByVal _salesStage_ As String, _
   ByVal _probability_ As Single _
) As ToolkitResult
public ToolkitResult CreateOpportunity( 
   string _opportunityName_,
   string _salesStage_,
   float _probability_
)

Parameters

opportunityName

The name of the Opportunity.

salesStage

Sales stage for the opportunity.

probability

Probability of opportunity close.

Return Value

A ToolkitResult instance with no properties set. The properties (Objid, IDNum, etc.) are not relevant to this API.

Remarks

The opportunity name must be specified. All other data is optional. The account, contact, territory, stage, source, currency, and process may be specified. Also, an amount and a probability may be specified. The API can generate a time bomb for business rules, or not.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server family

Reference

SalesToolkit Class
SalesToolkit Members
Overload List

Back to top © 2022 Dovetail Software, Inc. - All rights reserved.
Clarify, Amdocs, and related products and names are copyright and trademark of Amdocs, Inc.
.NET, Visual Studio.NET, C#, Visual Basic and related products are trademark of Microsoft corporation.