Export (0) Print
Expand All
Expand Minimize

opportunity Class (CrmService)

banner art

[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.

ConstructorDescription
opportunityInitializes a new instance of the opportunity class.

Instance PropertyDescription
actualclosedateGets or sets the date when the opportunity was closed.
actualvalueGets or sets the actual revenue for the opportunity.
actualvalue_baseGets the base-currency equivalent of the actual revenue on the opportunity.
campaignidGets or sets the ID for the source campaign associated with the opportunity.
closeprobabilityGets or sets the probability of closing the opportunity.
createdbyGets the ID of the user who created the opportunity.
createdonGets the date and time when the opportunity was created.
createdonbehalfbyGets the ID of the proxy user who created the opportunity record.
customeridGets or sets the ID of the account or contact associated with the opportunity.
descriptionGets or sets the description of the opportunity.
estimatedclosedateGets or sets the estimated date on which the opportunity is expected to close.
estimatedvalueGets or sets the estimated value of the opportunity.
estimatedvalue_baseGets the base-currency equivalent of the estimated value for the opportunity.
exchangerateGets the exchange rate for the currency associated with the fixed monthly fiscal calendar with regard to the base currency.
importsequencenumberGets or sets the ID of the data import or data migration that created this record.
isrevenuesystemcalculatedGets or sets how the estimated revenue is calculated, by the system or by the user.
modifiedbyGets the ID of the user who last modified the opportunity.
modifiedonGets the date and time when the opportunity was last modified.
modifiedonbehalfbyGets the ID of the proxy user who last modified the opportunity.
nameGets or sets the name of the opportunity.
opportunityidGets or sets the ID of the opportunity.
opportunityratingcodeGets or sets the opportunity rating code.
originatingleadidGets or sets the ID of the lead that originated the opportunity.
overriddencreatedonGets or sets the date and time that the record was migrated.
owneridGets or sets the ID of the user or team that owns the opportunity.
owningbusinessunitGets the ID of the business unit that owns the opportunity.
participatesinworkflowGets or sets a value that indicates whether the opportunity participates in workflow rules.
pricelevelidGets or sets the ID of the price list associated with the opportunity.
pricingerrorcodeGets or sets the pricing error for the opportunity.
prioritycodeGets or sets the priority of the opportunity.
salesstagecodeGets or sets the current stage of the sales process for the opportunity.
statecodeGets the status of the opportunity.
statuscodeGets or sets the reason for the status of the opportunity.
stepidGets or sets the ID of the step in the sales process.
stepnameGets or sets the name of the step in the sales process.
timezoneruleversionnumberFor internal use only.
transactioncurrencyidGets or sets the ID of the currency associated with the fixed monthly fiscal calendar.
utcconversiontimezonecodeGets or sets the time-zone code in use when the record was created.

Remarks

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.

Requirements

Web Service: CrmService

See Also

Concepts

Tasks

Reference


© 2010 Microsoft Corporation. All rights reserved.


Show:
© 2015 Microsoft