Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CustomerOpportunityRole (Opportunity Relationship) Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The following information is for the customer opportunity role (opportunity relationship) entity in a default, uncustomized installation of Microsoft Dynamics CRM. The schema name and early bound class for this entity is CustomerOpportunityRole.

To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the Metadata for Your Organization.

In This Section

Entity Metadata

The following table shows the metadata for the customer opportunity role (opportunity relationship) entity.

 

Metadata property Value

EntityLogicalName

customeropportunityrole

OTC

4503

OwnershipType

UserOwned

AutoRouteToOwnerQueue

False

CanBeInManyToMany

False

CanBePrimaryEntityInRelationship

False

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

False

CanModifyAdditionalSettings

True

CanTriggerWorkflow

True

IsActivity

False

IsActivityParty

False

IsAuditEnabled

False

IsAvailableOffline

True

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsCustomizable

True

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

False

IsEnabledForCharts

False

IsImportable

True

IsIntersect

False

IsMailMergeEnabled

False

IsManaged

True

IsMappable

True

IsReadingPaneEnabled

True

IsRenameable

False

IsValidForAdvancedFind

True

IsValidForQueue

False

IsVisibleInMobile

False

PrimaryIdAttribute

customeropportunityroleid

PrimaryNameAttribute

opportunityroleidname

ReportViewName

FilteredCustomerOpportunityRole

RecurrenceBaseEntityLogicalName

Description

Relationship between an account or contact and an opportunity.

DisplayName

Opportunity Relationship

DisplayCollectionName

Opportunity Relationships

Privilege Metadata

The following table shows the privilege metadata for the customer opportunity role (opportunity relationship) entity.

 

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendCustomerOpportunityRole

071ed935-f58c-46ce-8ca8-292e8dec16ab

Append

True

True

True

True

prvAppendToCustomerOpportunityRole

368aff3b-95b1-45c1-bf73-01a7becdedc5

AppendTo

True

True

True

True

prvAssignCustomerOpportunityRole

803be1e5-48cb-44f6-ac25-e64c7f1e9e36

Assign

True

True

True

True

prvCreateCustomerOpportunityRole

eef13216-2158-4da0-84fb-54ecb2b40b7b

Create

True

True

True

True

prvDeleteCustomerOpportunityRole

9aa38629-d3ec-42eb-bef9-da2fc7cceda7

Delete

True

True

True

True

prvReadCustomerOpportunityRole

db84e2ea-44fe-44ff-b01c-bd1b3d3d07ae

Read

True

True

True

True

prvShareCustomerOpportunityRole

959bd4b6-0ab9-43e3-8829-1b8605729bef

Share

True

True

True

True

prvWriteCustomerOpportunityRole

2cee7919-ede9-410b-b75f-ce166849d752

Write

True

True

True

True

Attribute Metadata

The following table shows the attribute metadata for the customer opportunity role (opportunity relationship) entity.

 

LogicalName Description Type SchemaName IsCustomAttribute IsCustomizable2 RequiredLevel IsValidForCreate IsValidForRead IsValidForUpdate CanBeSecuredForCreate CanBeSecuredForRead CanBeSecuredForUpdate IsAuditEnabled IsManaged IsPrimaryId IsPrimaryName IsRenameable IsSecured IsValidForAdvancedFind DisplayName DeprecatedVersion

createdby

Unique Identifier of the user who created the opportunity relationship.

Lookup

CreatedBy

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created By

createdon

Date and time when the opportunity relationship was created.

DateTime

CreatedOn

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created On

createdonbehalfby

Unique identifier of the delegate user who created the customeropportunityrole.

Lookup

CreatedOnBehalfBy

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created By (Delegate)

customerid

Unique identifier of the customer for the opportunity relationship.

Customer

CustomerId

False

True

SystemRequired

True

True

True

False

False

False

True

True

False

False

False

False

True

Customer

customeropportunityroleid

Unique identifier of the opportunity relationship.

Uniqueidentifier

CustomerOpportunityRoleId

False

False

SystemRequired

True

True

False

False

False

False

False

True

True

False

False

False

False

Opportunity Relationship

description

Description of the opportunity relationship.

String

Description

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Description

importsequencenumber

Unique identifier of the data import or data migration that created this record.

Integer

ImportSequenceNumber

False

True

None

True

True

False

False

False

False

True

True

False

False

False

False

True

Import Sequence Number

modifiedby

Unique identifier of the user who last modified the opportunity relationship.

Lookup

ModifiedBy

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Modified By

modifiedon

Date and time when the opportunity relationship was last modified.

DateTime

ModifiedOn

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Modified On

modifiedonbehalfby

Unique identifier of the delegate user who last modified the customeropportunityrole.

Lookup

ModifiedOnBehalfBy

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Modified By (Delegate)

opportunityid

Unique identifier of the opportunity for the opportunity relationship.

Lookup

OpportunityId

False

True

SystemRequired

True

True

True

False

False

False

True

True

False

False

False

False

True

Opportunity

opportunityroleid

Unique identifier for role the customer plays with the opportunity.

Lookup

OpportunityRoleId

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Customer Role

opportunitystatecode

Status of the opportunity.

Integer

OpportunityStateCode

False

True

SystemRequired

False

True

False

False

False

False

True

True

False

False

False

False

False

Opportunity Status

opportunitystatuscode

Reason for the status of the opportunity.

Integer

OpportunityStatusCode

False

True

ApplicationRequired

False

True

False

False

False

False

True

True

False

False

False

False

False

Opportunity Status Reason

overriddencreatedon

Date and time that the record was migrated.

DateTime

OverriddenCreatedOn

False

True

None

True

True

False

False

False

False

True

True

False

False

False

False

True

Record Created On

ownerid

Unique identifier of the user or team who owns the customer opportunity role.

Owner

OwnerId

False

True

SystemRequired

True

True

False

False

False

False

True

True

False

False

False

False

True

Owner

owningbusinessunit

Unique identifier for the business unit that owns the customer opportunity role.

Lookup

OwningBusinessUnit

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Owning Business Unit

owningteam

Unique identifier of the team who owns the customer opportunity role.

Lookup

OwningTeam

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Owning Team

owninguser

Unique identifier of the user who owns the customer opportunity role.

Lookup

OwningUser

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Owning User

uniquedscid

For internal use only.

Uniqueidentifier

UniqueDscId

False

False

None

False

False

False

False

False

False

False

True

False

False

False

False

False

UniqueDscId

versionnumber

Version number of the customer opportunity role.

BigInt

VersionNumber

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Version Number

One-to-Many Relationships

The following table shows the entities that are the referencing entity in a one-to-many relationship for the customer opportunity role (opportunity relationship) entity.

 

Relationship schema name Referencing entity

CustomerOpportunityRole_AsyncOperations

asyncoperation

CustomerOpportunityRole_BulkDeleteFailures

bulkdeletefailure

CustomerOpportunityRole_ProcessSessions

processsession

userentityinstancedata_customeropportunityrole

userentityinstancedata

Many-to-Many Relationships

There are no the many-to-many relationships for the customer opportunity role (opportunity relationship) entity.

Many-to-One Relationships

The following table shows the entities that are the referenced entity in a many-to-one relationship for the customer opportunity role (opportunity relationship) entity.

 

Relationship schema name Referenced entity

account_customer_opportunity_roles

account

business_customer_opportunity_roles

businessunit

contact_customer_opportunity_roles

contact

opportunity_customer_opportunity_roles

opportunity

owner_customeropportunityroles

owner

relationship_role_customer_opportunity_roles

relationshiprole

lk_customeropportunityrole_modifiedonbehalfby

systemuser

lk_customeropportunityrole_modifiedby

systemuser

user_customer_opportunity_roles

systemuser

lk_customeropportunityrole_createdonbehalfby

systemuser

lk_customeropportunityrole_createdby

systemuser

team_customer_opportunity_roles

team

See Also

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.