Export (0) Print
Expand All
Expand Minimize

OpportunityState Enumeration (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Specifies the possible states for an opportunity.

Syntax

[Visual Basic .NET]
Public Enum OpportunityState

[C#]
public enum OpportunityState

Members

NameValueDescriptionStatus ReasonStatus Code Value
Lost2Specifies that the opportunity is lost.Canceled

Out-Sold

4

5

Open0Specifies that the opportunity is open.In Progress

On Hold

1

2

Won1Specifies that the opportunity has been won.Won3

Remarks

This enumeration is used for the following properties:

OpportunityStateInfo.Value

opportunity.statecode

The status reason values are used for the opportunity.statuscode property.

The values for opportunity status reason are customizable. The preceding table shows the values that are defined in a default installation.

See Also

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft