Export (0) Print
Expand All

CustomerRelationship Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

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

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 customer relationship entity.

 

Metadata property Value

EntityLogicalName

customerrelationship

OTC

4502

OwnershipType

UserOwned

AutoRouteToOwnerQueue

False

CanBeInManyToMany

False

CanBePrimaryEntityInRelationship

False

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

False

CanModifyAdditionalSettings

False

CanTriggerWorkflow

True

IsActivity

False

IsActivityParty

False

IsAuditEnabled

False

IsAvailableOffline

True

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsCustomizable

False

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

customerrelationshipid

PrimaryNameAttribute

customerroleidname

ReportViewName

FilteredCustomerRelationship

RecurrenceBaseEntityLogicalName

Description

Relationship between a customer and a partner in which either can be an account or contact.

DisplayName

Customer Relationship

DisplayCollectionName

Customer Relationships

Privilege Metadata

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

 

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendCustomerRelationship

1390883c-8774-4b02-bd50-0f5454668200

Append

True

True

True

True

prvAppendToCustomerRelationship

5b6c67ed-7b05-4545-9a6d-adf07fdde7a1

AppendTo

True

True

True

True

prvAssignCustomerRelationship

465d9001-87eb-4567-b7c5-fdbdc61024c1

Assign

True

True

True

True

prvCreateCustomerRelationship

19851d34-4e73-4843-bc05-7e52fc490071

Create

True

True

True

True

prvDeleteCustomerRelationship

d1a8ff91-4529-49a9-b2d8-86051440fe39

Delete

True

True

True

True

prvReadCustomerRelationship

e75b7037-291c-4ab4-848a-05a78a557fae

Read

True

True

True

True

prvShareCustomerRelationship

b4c58955-80fe-4f48-8578-cce42d94fe0f

Share

True

True

True

True

prvWriteCustomerRelationship

9008f389-74fc-4b64-b4a4-a7abdc2ac28f

Write

True

True

True

True

Attribute Metadata

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

 

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

converserelationshipid

Unique identifier of the converse relationship of the customer relationship.

Lookup

ConverseRelationshipId

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

False

Converse Relationship

createdby

Unique Identifier of the user who created the customer 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 customer 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 customerrelationship.

Lookup

CreatedOnBehalfBy

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created By (Delegate)

customerid

Unique identifier of the primary customer in the relationship.

Customer

CustomerId

False

False

SystemRequired

True

True

True

False

False

False

True

True

False

False

False

False

True

Party 1

customerrelationshipid

Unique identifier of the customer relationship.

Uniqueidentifier

CustomerRelationshipId

False

False

SystemRequired

True

True

False

False

False

False

False

True

True

False

False

False

False

Customer Relationship

customerroledescription

Description of the customer and the customer's role in this relationship.

Memo

CustomerRoleDescription

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Description 1

customerroleid

Unique identifier of the customer role.

Lookup

CustomerRoleId

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Role 1

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 customer 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 customer 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 customerrelationship.

Lookup

ModifiedOnBehalfBy

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Modified By (Delegate)

overriddencreatedon

Date and time that the record was migrated.

DateTime

OverriddenCreatedOn

False

False

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

Owner

OwnerId

False

False

SystemRequired

True

True

False

False

False

False

True

True

False

False

False

False

True

Owner

owningbusinessunit

Unique identifier of the business unit that owns the customer relationship.

Lookup

OwningBusinessUnit

False

False

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

Lookup

OwningTeam

False

False

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

Lookup

OwningUser

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Owning User

partnerid

Unique identifier of the secondary customer in the relationship.

Customer

PartnerId

False

False

SystemRequired

True

True

True

False

False

False

True

True

False

False

False

False

True

Party 2

partnerroledescription

Description of the customer and the customer's role in this relationship.

Memo

PartnerRoleDescription

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Description 2

partnerroleid

Unique identifier of the relationship role of the secondary customer.

Lookup

PartnerRoleId

False

False

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Role 2

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

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 customer relationship entity.

 

Relationship schema name

Referencing Entity

CustomerRelationship_AsyncOperations

asyncoperation

CustomerRelationship_BulkDeleteFailures

bulkdeletefailure

CustomerRelationship_ProcessSessions

processsession

userentityinstancedata_customerrelationship

userentityinstancedata

Many-to-Many Relationships

Theere are no many-to-many relationships for the customer relationship entity.

Many-to-One Relationships

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

 

Relationship schema name

Referenced entity

account_customer_relationship_customer

account

account_customer_relationship_partner

account

business_unit_customer_relationship

businessunit

contact_customer_relationship_partner

contact

contact_customer_relationship_customer

contact

customer_relationship_converse_relationship

customerrelationship

owner_customerrelationships

owner

relationship_role_customer_role

relationshiprole

relationship_role_partner_role

relationshiprole

modifiedonbehalfby_customer_relationship

systemuser

createdby_customer_relationship

systemuser

createdonbehalfby_customer_relationship

systemuser

modifiedby_customer_relationship

systemuser

user_customer_relationship

systemuser

team_customer_relationship

team

See Also

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

Community Additions

Show:
© 2014 Microsoft