Export (0) Print
Expand All

RelationshipRole Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

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

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

In This Topic

Entity Metadata

The following table shows the metadata for the relationship role entity.

 

Entity metadata property Value

OTC

4500

EntityLogicalName

relationshiprole

DisplayName

Relationship Role

OwnershipType

OrganizationOwned

IsCustomizable

False

Description

Relationship between an account or contact and an opportunity.

IsAvailableOffline

True

IsAuditEnabled

False

AutoRouteToOwnerQueue

False

CanBeInManyToMany

False

CanBePrimaryEntityInRelationship

True

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

False

CanModifyAdditionalSettings

False

CanTriggerWorkflow

True

IsActivity

False

IsActivityParty

False

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

False

IsEnabledForCharts

False

IsImportable

False

IsIntersect

False

IsMailMergeEnabled

False

IsManaged

True

IsMappable

False

IsReadingPaneEnabled

True

IsRenameable

False

IsValidForAdvancedFind

False

IsValidForQueue

False

IsVisibleInMobile

False

PrimaryIdAttribute

relationshiproleid

PrimaryNameAttribute

name

ReportViewName

FilteredRelationshipRole

RecurrenceBaseEntityLogicalName

DisplayCollectionName

Relationship Roles

Privilege Metadata

The following table shows the privilege metadata for the relationship role entity.

 

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendRelationshipRole

e5a70735-50c1-4e1a-a512-780b2e4456f3

Append

False

False

True

False

prvAppendToRelationshipRole

46792f9a-83e1-4e72-bbbb-d31bacde7365

AppendTo

False

False

True

False

prvCreateRelationshipRole

6c9b6722-135e-4847-b4cf-256033f3fe47

Create

False

False

True

False

prvDeleteRelationshipRole

8b80fbba-bb3c-4f11-8eef-8cdbcc6476da

Delete

False

False

True

False

prvReadRelationshipRole

3c223cbd-7309-4a1a-901e-9ba78bc41ec8

Read

False

False

True

False

prvWriteRelationshipRole

1affab32-4bf0-4484-ae6b-4f2b6f3d5cb9

Write

False

False

True

False

Attribute Metadata

The following table shows the attribute metadata for the relationship role entity.

 

LogicalName Description Type SchemaName IsCustomAttribute IsCustomizable 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 relationship role.

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 relationship role 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 relationshiprole.

Lookup

CreatedOnBehalfBy

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created By (Delegate)

description

Description of the relationship role.

String

Description

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

False

Description

importsequencenumber

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

Integer

ImportSequenceNumber

False

False

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 relationship role.

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 relationship role 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 relationshiprole.

Lookup

ModifiedOnBehalfBy

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Modified By (Delegate)

name

Name of the relationship role.

String

Name

False

False

SystemRequired

True

True

True

False

False

False

True

True

False

True

False

False

True

Name

organizationid

Unique Identifier of the organization that this relationship role belongs to.

Lookup

OrganizationId

False

False

SystemRequired

False

True

False

False

False

False

False

True

False

False

False

False

False

Organization

relationshiproleid

Unique identifier of the relationship role.

Uniqueidentifier

RelationshipRoleId

False

False

SystemRequired

True

True

False

False

False

False

False

True

True

False

False

False

True

Relationship Role

statecode

Status of the relationship role.

State

StateCode

False

False

SystemRequired

False

True

False

False

False

False

True

True

False

False

False

False

True

Status

statuscode

Reason for the status of the relationship role.

Status

StatusCode

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

False

Status Reason

versionnumber

BigInt

VersionNumber

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

False

One-to-Many Relationships

The following table shows the entities that are the referencing entity in a one-to-many relationship with the relationship role entity.

 

Relationship schema name Referencing entity

RelationshipRole_AsyncOperations

asyncoperation

RelationshipRole_BulkDeleteFailures

bulkdeletefailure

relationship_role_customer_opportunity_roles

customeropportunityrole

relationship_role_customer_role

customerrelationship

relationship_role_partner_role

customerrelationship

RelationshipRole_ProcessSessions

processsession

relationship_role_relationship_role_map

relationshiprolemap

userentityinstancedata_relationshiprole

userentityinstancedata

Many-to-Many Relationships

There are no many-to-many relationships for the relationship role entity.

Many-to-One Relationships

The following table shows the entities that are the referenced entity in a many-to-one relationship with the relationship role entity.

 

Relationship schema name Referenced entity

organization_relationship_roles

organization

createdby_relationship_role

systemuser

lk_relationshiprole_createdonbehalfby

systemuser

lk_relationshiprole_modifiedonbehalfby

systemuser

modifiedby_relationship_role

systemuser

See Also

Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.

Community Additions

Show:
© 2015 Microsoft