Export (0) Print
Expand All

Letter Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

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

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 letter entity.

 

Entity metadata property Value

EntityLogicalName

letter

OTC

4207

OwnershipType

UserOwned

AutoRouteToOwnerQueue

False

CanBeInManyToMany

True

CanBePrimaryEntityInRelationship

True

CanBeRelatedEntityInRelationship

True

CanCreateAttributes

True

CanCreateCharts

True

CanCreateForms

True

CanCreateViews

True

CanModifyAdditionalSettings

True

CanTriggerWorkflow

True

IsActivity

True

IsActivityParty

False

IsAuditEnabled

False

IsAvailableOffline

True

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsCustomizable

True

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

True

IsEnabledForCharts

True

IsImportable

True

IsIntersect

False

IsMailMergeEnabled

False

IsManaged

True

IsMappable

True

IsReadingPaneEnabled

True

IsRenameable

True

IsValidForAdvancedFind

True

IsValidForQueue

True

IsVisibleInMobile

False

PrimaryIdAttribute

activityid

PrimaryNameAttribute

subject

ReportViewName

FilteredLetter

RecurrenceBaseEntityLogicalName

Description

Activity that tracks the delivery of a letter. The activity can contain the electronic copy of the letter.

DisplayName

Letter

DisplayCollectionName

Letters

Privilege Metadata

The following table shows the metadata for the letter entity.

 

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendActivity

78777c10-09ab-4326-b4c8-cf5729702937

Append

True

True

True

True

prvAppendToActivity

6ec8e901-d770-44c0-8f12-d07425f638bd

AppendTo

True

True

True

True

prvAssignActivity

8b99344e-ebbf-4f84-8438-e1e34d194de9

Assign

True

True

True

True

prvCreateActivity

091df793-fe5e-44d4-b4ca-7e3f580c4664

Create

True

True

True

True

prvDeleteActivity

bb4457f2-9b45-4482-a95a-7adef25f388a

Delete

True

True

True

True

prvReadActivity

650c14fe-3521-45fe-a000-84138688e45d

Read

True

True

True

True

prvShareActivity

b5f2ee06-d359-4495-bbda-312aae1c6b1e

Share

True

True

True

True

prvWriteActivity

0dc8f72c-57d5-4b4d-8892-fe6aac0e4b81

Write

True

True

True

True

Attribute Metadata

The following table shows the attribute metadata for the letter entity.

 

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

activityid

ActivityId

Uniqueidentifier

SystemRequired

False

True

True

True

False

False

False

False

False

True

True

False

True

False

True

Letter

Unique identifier of the letter activity.

activitytypecode

ActivityTypeCode

EntityName

SystemRequired

False

True

False

True

False

False

False

False

True

True

False

False

True

False

True

Activity Type

Type of activity.

actualdurationminutes

ActualDurationMinutes

Integer

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Duration

Actual duration of the letter activity in minutes.

actualend

ActualEnd

DateTime

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Actual End

Actual end time of the letter activity.

actualstart

ActualStart

DateTime

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Actual Start

Actual start time of the letter activity.

address

Address

String

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Address

Address for the letter.

bcc

bcc

PartyList

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

False

Bcc

Blind carbon copy (BCC) recipient of the letter.

category

Category

String

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Category

Category of the letter.

cc

cc

PartyList

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

False

Cc

Carbon copy (CC) recipient of the letter.

createdby

CreatedBy

Lookup

None

False

True

False

True

False

False

False

False

False

True

False

False

True

False

True

Created By

Unique identifier of the user who created the letter activity.

createdon

CreatedOn

DateTime

None

False

True

False

True

False

False

False

False

False

True

False

False

True

False

True

Created On

Date and time when the letter activity was created.

createdonbehalfby

CreatedOnBehalfBy

Lookup

None

False

True

False

True

False

False

False

False

False

True

False

False

True

False

True

Created By (Delegate)

Unique identifier of the delegate user who created the letter.

description

Description

Memo

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Description

Description of the letter activity.

directioncode

DirectionCode

Boolean

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Direction

Direction code for the letter: incoming or outgoing.

exchangerate

ExchangeRate

Decimal

None

False

True

False

True

False

False

False

False

True

True

False

False

True

False

True

Exchange Rate

Exchange rate for the currency associated with the letter with respect to the base currency.

from

from

PartyList

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

False

Sender

Who the letter is from.

importsequencenumber

ImportSequenceNumber

Integer

None

False

True

True

True

False

False

False

False

True

True

False

False

True

False

True

Import Sequence Number

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

isbilled

IsBilled

Boolean

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Is Billed

Information regarding whether the letter activity was billed as part of resolving a case.

isregularactivity

IsRegularActivity

Boolean

SystemRequired

False

True

False

True

False

False

False

False

True

True

False

False

True

False

True

Is Regular Activity

Information regarding whether the activity is a regular activity type or event type.

isworkflowcreated

IsWorkflowCreated

Boolean

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Is Workflow Created

Indication of whether the letter activity was created by a workflow rule.

modifiedby

ModifiedBy

Lookup

None

False

True

False

True

False

False

False

False

False

True

False

False

True

False

True

Modified By

Unique identifier of the user who last modified the letter activity.

modifiedon

ModifiedOn

DateTime

None

False

True

False

True

False

False

False

False

False

True

False

False

True

False

True

Modified On

Date and time when the letter activity was last modified.

modifiedonbehalfby

ModifiedOnBehalfBy

Lookup

None

False

True

False

True

False

False

False

False

False

True

False

False

True

False

True

Modified By (Delegate)

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

overriddencreatedon

OverriddenCreatedOn

DateTime

None

False

True

True

True

False

False

False

False

True

True

False

False

True

False

True

Record Created On

Date and time that the record was migrated.

ownerid

OwnerId

Owner

SystemRequired

False

True

True

True

False

False

False

False

True

True

False

False

True

False

True

Owner

Unique identifier of the user or team who owns the letter activity.

owningbusinessunit

OwningBusinessUnit

Lookup

None

False

True

False

True

False

False

False

False

False

True

False

False

False

False

False

Owning Business Unit

Unique identifier of the business unit that owns the letter activity.

owningteam

OwningTeam

Lookup

None

False

True

False

True

False

False

False

False

False

True

False

False

True

False

True

Owning Team

Unique identifier of the team that owns the letter activity.

owninguser

OwningUser

Lookup

None

False

True

False

True

False

False

False

False

False

True

False

False

True

False

True

Owning User

Unique identifier of the user that owns the letter activity.

prioritycode

PriorityCode

Picklist

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Priority

Priority code of the letter.

regardingobjectid

RegardingObjectId

Lookup

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Regarding

Unique identifier of the object with which the letter activity is associated.

scheduleddurationminutes

ScheduledDurationMinutes

Integer

None

False

True

False

True

False

False

False

False

True

True

False

False

True

False

True

Scheduled Duration

Scheduled duration of the letter activity, specified in minutes.

scheduledend

ScheduledEnd

DateTime

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Due Date

Scheduled end time of the letter activity.

scheduledstart

ScheduledStart

DateTime

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Start Date

Scheduled start time of the letter activity.

serviceid

ServiceId

Lookup

None

False

True

True

True

True

False

False

False

True

True

False

False

False

False

False

Service

Unique identifier for an associated service.

statecode

StateCode

State

SystemRequired

False

True

False

True

False

False

False

False

True

True

False

False

True

False

True

Activity Status

Status of the letter activity.

statuscode

StatusCode

Status

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Status Reason

Reason for the status of the letter activity.

subcategory

Subcategory

String

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Sub-Category

Subcategory of the letter activity.

subject

Subject

String

ApplicationRequired

False

True

True

True

True

False

False

False

True

True

False

True

True

False

True

Subject

Subject associated with the letter activity.

subscriptionid

SubscriptionId

Uniqueidentifier

None

False

False

True

False

False

False

False

False

False

True

False

False

False

False

False

Subscription

For internal use only.

timezoneruleversionnumber

TimeZoneRuleVersionNumber

Integer

None

False

True

True

True

True

False

False

False

False

True

False

False

False

False

False

Time Zone Rule Version Number

For internal use only.

to

to

PartyList

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

False

Recipient

Who the letter is sent to.

transactioncurrencyid

TransactionCurrencyId

Lookup

None

False

True

True

True

True

False

False

False

True

True

False

False

True

False

True

Currency

Unique identifier of the currency associated with the letter.

utcconversiontimezonecode

UTCConversionTimeZoneCode

Integer

None

False

True

True

True

True

False

False

False

False

True

False

False

False

False

False

UTC Conversion Time Zone Code

Time zone code that was in use when the record was created.

versionnumber

VersionNumber

BigInt

None

False

False

False

True

False

False

False

False

False

True

False

False

False

False

False

Version Number

Version number of the letter.

One-to-Many Relationships

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

 

Relationship schema name Referencing Entity

letter_activity_parties

activityparty

Letter_Annotation

annotation

Letter_AsyncOperations

asyncoperation

Letter_BulkDeleteFailures

bulkdeletefailure

letter_campaignresponse

campaignresponse

letter_connections1

connection

letter_connections2

connection

Letter_DuplicateBaseRecord

duplicaterecord

Letter_DuplicateMatchingRecord

duplicaterecord

letter_principalobjectattributeaccess

principalobjectattributeaccess

Letter_ProcessSessions

processsession

Letter_QueueItem

queueitem

Many-to-Many Relationships

There are no many-to-many relationships for the letter entity.

Many-to-One Relationships

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

 

Relationship schema name Referenced entity

Account_Letters

account

activity_pointer_letter

activitypointer

BulkOperation_Letter

bulkoperation

business_unit_letter_activities

businessunit

Campaign_Letters

campaign

CampaignActivity_Letters

campaignactivity

Contact_Letters

contact

Contract_Letters

contract

Incident_Letters

incident

Invoice_Letters

invoice

Lead_Letters

lead

Opportunity_Letters

opportunity

Quote_Letters

quote

SalesOrder_Letters

salesorder

service_letters

service

user_letter

systemuser

lk_letter_createdby

systemuser

lk_letter_modifiedby

systemuser

lk_letter_createdonbehalfby

systemuser

lk_letter_modifiedonbehalfby

systemuser

team_letter

team

TransactionCurrency_Letter

transactioncurrency

See Also

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

Community Additions

Show:
© 2014 Microsoft