opportunity Class (CrmService)
[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
Represents a potential revenue-generating event, or sale to an account, that has to be tracked through a sales process to completion.
For a list of methods and messages that operate on this class, see Opportunity Entity Capabilities.
The opportunity class inherits from BusinessEntity. It exposes the following members.
|opportunity||Initializes a new instance of the opportunity class.|
|actualclosedate||Gets or sets the date when the opportunity was closed.|
|actualvalue||Gets or sets the actual revenue for the opportunity.|
|actualvalue_base||Gets the base-currency equivalent of the actual revenue on the opportunity.|
|campaignid||Gets or sets the ID for the source campaign associated with the opportunity.|
|closeprobability||Gets or sets the probability of closing the opportunity.|
|createdby||Gets the ID of the user who created the opportunity.|
|createdon||Gets the date and time when the opportunity was created.|
|createdonbehalfby||Gets the ID of the proxy user who created the opportunity record.|
|customerid||Gets or sets the ID of the account or contact associated with the opportunity.|
|description||Gets or sets the description of the opportunity.|
|estimatedclosedate||Gets or sets the estimated date on which the opportunity is expected to close.|
|estimatedvalue||Gets or sets the estimated value of the opportunity.|
|estimatedvalue_base||Gets the base-currency equivalent of the estimated value for the opportunity.|
|exchangerate||Gets the exchange rate for the currency associated with the fixed monthly fiscal calendar with regard to the base currency.|
|importsequencenumber||Gets or sets the ID of the data import or data migration that created this record.|
|isrevenuesystemcalculated||Gets or sets how the estimated revenue is calculated, by the system or by the user.|
|modifiedby||Gets the ID of the user who last modified the opportunity.|
|modifiedon||Gets the date and time when the opportunity was last modified.|
|modifiedonbehalfby||Gets the ID of the proxy user who last modified the opportunity.|
|name||Gets or sets the name of the opportunity.|
|opportunityid||Gets or sets the ID of the opportunity.|
|opportunityratingcode||Gets or sets the opportunity rating code.|
|originatingleadid||Gets or sets the ID of the lead that originated the opportunity.|
|overriddencreatedon||Gets or sets the date and time that the record was migrated.|
|ownerid||Gets or sets the ID of the user or team that owns the opportunity.|
|owningbusinessunit||Gets the ID of the business unit that owns the opportunity.|
|participatesinworkflow||Gets or sets a value that indicates whether the opportunity participates in workflow rules.|
|pricelevelid||Gets or sets the ID of the price list associated with the opportunity.|
|pricingerrorcode||Gets or sets the pricing error for the opportunity.|
|prioritycode||Gets or sets the priority of the opportunity.|
|salesstagecode||Gets or sets the current stage of the sales process for the opportunity.|
|statecode||Gets the status of the opportunity.|
|statuscode||Gets or sets the reason for the status of the opportunity.|
|stepid||Gets or sets the ID of the step in the sales process.|
|stepname||Gets or sets the name of the step in the sales process.|
|timezoneruleversionnumber||For internal use only.|
|transactioncurrencyid||Gets or sets the ID of the currency associated with the fixed monthly fiscal calendar.|
|utcconversiontimezonecode||Gets or sets the time-zone code in use when the record was created.|
This table lists only the attributes for a default system. For more information about the entities and attributes in your organization, see the Customization area of the Web application. To view this information in the Customization area, in the Navigation Pane, click Settings, click Customization, and then click Customize Entities. You can change the view to see non-customizable entities.
If you have an on-premise deployment, you can use the Metadata Browser to view the metadata for your organization. For more information, see Using the Metadata Browser.
This entity is customizable.
Web Service: CrmService
© 2010 Microsoft Corporation. All rights reserved.