customeropportunityrole Class (CrmService)
[Applies to: Microsoft Dynamics CRM 4.0]
Find the latest SDK documentation: CRM 2015 SDK
Represents the relationship between an account or contact and an opportunity.
For a list of methods and messages that operate on this class, see Customer Opportunity Role Entity Capabilities.
The customeropportunityrole class inherits from BusinessEntity. It exposes the following members.
|customeropportunityrole||Initializes a new instance of the customeropportunityrole class.|
|createdby||Gets the ID of the user who created the opportunity relationship.|
|createdon||Gets the date and time when the opportunity relationship was created.|
|createdonbehalfby||Gets the ID of the proxy user who created the opportunity relationship record.|
|customerid||Gets or sets the ID of the customer for the opportunity relationship.|
|customeropportunityroleid||Gets or sets the ID of the opportunity relationship.|
|description||Gets or sets the description of the opportunity relationship.|
|importsequencenumber||Gets or sets the ID of the data import or data migration that created this record.|
|modifiedby||Gets the ID of the user who last modified the opportunity relationship.|
|modifiedon||Gets the date and time when the opportunity relationship was last modified.|
|modifiedonbehalfby||Gets the ID of the proxy user who last modified the opportunity relationship.|
|opportunityid||Gets or sets the ID of the opportunity for the opportunity relationship.|
|overriddencreatedon||Gets or sets the date and time that the record was migrated.|
|opportunityroleid||Gets or sets the ID for the role the customer plays in the opportunity.|
|opportunitystatecode||Gets the status of the opportunity.|
|opportunitystatuscode||Gets the reason for the status of the opportunity.|
|ownerid||Gets or sets the ID for the owner of the customer opportunity role.|
|owningbusinessunit||Gets the ID for the business unit that owns the customer opportunity role.|
For more information about entities and attributes, see Using the Metadata Browser and 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.
- Opportunity Relationship (customeropportunityrole) Entity Capabilities
- Opportunity Relationship (customeropportunityrole) Attributes
© 2010 Microsoft Corporation. All rights reserved.