Click or drag to resize

Letter Class

Activity that tracks the delivery of a letter. The activity can contain the electronic copy of the letter.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceLetter

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class Letter : Entity, INotifyPropertyChanging, 
	INotifyPropertyChanged

The Letter type exposes the following members.

Constructors
 NameDescription
Public methodLetter Default Constructor.
Top
Properties
 NameDescription
Public propertyAccount_Letters N:1 Account_Letters
Public propertyactivity_pointer_letter N:1 activity_pointer_letter
Public propertyActivityId Unique identifier of the letter activity.
Public propertyActivityTypeCode Shows the type of activity.
Public propertyActualDurationMinutes Type the number of minutes spent creating and sending the letter. The duration is used in reporting.
Public propertyActualEnd Enter the actual end date and time of the letter. By default, it displays the date and time when the activity was completed or canceled, but can be edited to capture the actual time to create and send the letter.
Public propertyActualStart Enter the actual start date and time for the letter. By default, it displays the date and time when the activity was created, but can be edited to capture the actual time to create and send the letter.
Public propertyAddress Type the complete recipient address for the letter to ensure timely delivery.
Public propertyAttributes
(Inherited from Entity)
Public propertyBcc Enter the recipients that are included in the letter distribution, but are not displayed to other recipients.
Public propertybookableresourcebooking_Letters N:1 bookableresourcebooking_Letters
Public propertybookableresourcebookingheader_Letters N:1 bookableresourcebookingheader_Letters
Public propertyBulkOperation_Letter N:1 BulkOperation_Letter
Public propertybusiness_unit_letter_activities N:1 business_unit_letter_activities
Public propertyCampaign_Letters N:1 Campaign_Letters
Public propertyCampaignActivity_Letters N:1 CampaignActivity_Letters
Public propertyCategory Type a category to identify the letter type, such as sales offer or past due notice, to tie the letter to a business group or function.
Public propertyCc Enter the recipients that should be copied on the letter.
Public propertyContact_Letters N:1 Contact_Letters
Public propertyContract_Letters N:1 Contract_Letters
Public propertyCreatedBy Shows who created the record.
Public propertyCreatedOn Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyCreatedOnBehalfBy Shows who created the record on behalf of another user.
Public propertyDescription Type the letter body or additional information to describe the letter, such as the primary message or the products and services described.
Public propertyDirectionCode Select the direction of the letter as incoming or outbound.
Public propertyentitlement_Letters N:1 entitlement_Letters
Public propertyentitlementtemplate_Letters N:1 entitlementtemplate_Letters
Public propertyEntityState
(Inherited from Entity)
Public propertyExchangeRate Shows the conversion rate of the record's currency. The exchange rate is used to convert all money fields in the record from the local currency to the system's default currency.
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyFrom Enter the account, contact, lead, or user who sent the letter.
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyImportSequenceNumber Unique identifier of the data import or data migration that created this record.
Public propertyIncident_Letters N:1 Incident_Letters
Public propertyInvoice_Letters N:1 Invoice_Letters
Public propertyIsBilled Shows whether the letter activity was billed as part of resolving a case.
Public propertyIsRegularActivity Shows whether the activity is a regular activity type or event type.
Public propertyIsWorkflowCreated Shows whether the letter activity was created by a workflow rule.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyKnowledgeArticle_Letters N:1 KnowledgeArticle_Letters
Public propertyKnowledgeBaseRecord_Letters N:1 KnowledgeBaseRecord_Letters
Public propertyLastOnHoldTime Contains the date and time stamp of the last on hold time.
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertyLead_Letters N:1 Lead_Letters
Public propertyletter_activity_parties 1:N letter_activity_parties
Public propertyLetter_Annotation 1:N Letter_Annotation
Public propertyLetter_AsyncOperations 1:N Letter_AsyncOperations
Public propertyLetter_BulkDeleteFailures 1:N Letter_BulkDeleteFailures
Public propertyletter_campaignresponse 1:N letter_campaignresponse
Public propertyletter_connections1 1:N letter_connections1
Public propertyletter_connections2 1:N letter_connections2
Public propertyLetter_DuplicateBaseRecord 1:N Letter_DuplicateBaseRecord
Public propertyLetter_DuplicateMatchingRecord 1:N Letter_DuplicateMatchingRecord
Public propertyletter_principalobjectattributeaccess 1:N letter_principalobjectattributeaccess
Public propertyLetter_ProcessSessions 1:N Letter_ProcessSessions
Public propertyLetter_QueueItem 1:N Letter_QueueItem
Public propertyLetter_SyncErrors 1:N Letter_SyncErrors
Public propertylk_letter_createdby N:1 lk_letter_createdby
Public propertylk_letter_createdonbehalfby N:1 lk_letter_createdonbehalfby
Public propertylk_letter_modifiedby N:1 lk_letter_modifiedby
Public propertylk_letter_modifiedonbehalfby N:1 lk_letter_modifiedonbehalfby
Public propertyLogicalName
(Inherited from Entity)
Public propertymanualsla_letter N:1 manualsla_letter
Public propertyModifiedBy Shows who last updated the record.
Public propertyModifiedOn Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyModifiedOnBehalfBy Shows who last updated the record on behalf of another user.
Public propertymsdyn_postalbum_Letters N:1 msdyn_postalbum_Letters
Public propertyOnHoldTime Shows how long, in minutes, that the record was on hold.
Public propertyOpportunity_Letters N:1 Opportunity_Letters
Public propertyOverriddenCreatedOn Date and time that the record was migrated.
Public propertyOwnerId Enter the user or team who is assigned to manage the record. This field is updated every time the record is assigned to a different user.
Public propertyOwningBusinessUnit Unique identifier of the business unit that owns the letter activity.
Public propertyOwningTeam Unique identifier of the team that owns the letter activity.
Public propertyOwningUser Unique identifier of the user that owns the letter activity.
Public propertyPriorityCode Select the priority so that preferred customers or critical issues are handled quickly.
Public propertyProcessId Shows the ID of the process.
Public propertyprocessstage_letters N:1 processstage_letters
Public propertyQuote_Letters N:1 Quote_Letters
Public propertyRegardingObjectId Choose the record that the letter relates to.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRowVersion
(Inherited from Entity)
Public propertySalesOrder_Letters N:1 SalesOrder_Letters
Public propertyScheduledDurationMinutes Scheduled duration of the letter activity, specified in minutes.
Public propertyScheduledEnd Enter the expected due date and time.
Public propertyScheduledStart Enter the expected due date and time.
Public propertyservice_letters N:1 service_letters
Public propertyServiceId Unique identifier for an associated service.
Public propertysla_letter N:1 sla_letter
Public propertySLAId Choose the service level agreement (SLA) that you want to apply to the Letter record.
Public propertySLAInvokedId Last SLA that was applied to this Letter. This field is for internal use only.
Public propertyslakpiinstance_letter 1:N slakpiinstance_letter
Public propertyStageId Shows the ID of the stage.
Public propertyStateCode Shows whether the letter is open, completed, or canceled. Completed and canceled letters are read-only and can't be edited.
Public propertyStatusCode Select the letter's status.
Public propertySubcategory Type a subcategory to identify the letter type and relate the activity to a specific product, sales region, business group, or other function.
Public propertySubject Type a short description about the objective or primary topic of the letter.
Public propertySubscriptionId For internal use only.
Public propertyteam_letter N:1 team_letter
Public propertyTimeZoneRuleVersionNumber For internal use only.
Public propertyTo Enter the account, contact, lead, or user recipients for the letter.
Public propertyTransactionCurrency_Letter N:1 TransactionCurrency_Letter
Public propertyTransactionCurrencyId Choose the local currency for the record to make sure budgets are reported in the correct currency.
Public propertyTraversedPath For internal use only.
Public propertyuser_letter N:1 user_letter
Public propertyuserentityinstancedata_letter 1:N userentityinstancedata_letter
Public propertyUTCConversionTimeZoneCode Time zone code that was in use when the record was created.
Public propertyVersionNumber Version number of the letter.
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also