Click or drag to resize

CampaignActivity Class

Task performed, or to be performed, by a user for planning or running a campaign.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceCampaignActivity

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

The CampaignActivity type exposes the following members.

Constructors
 NameDescription
Public methodCampaignActivity Default Constructor.
Top
Properties
 NameDescription
Public propertyactivity_pointer_campaignactivity N:1 activity_pointer_campaignactivity
Public propertyActivityId Unique identifier of the campaign activity.
Public propertyActivityTypeCode Type of activity.
Public propertyActualCost Type the actual cost of the campaign activity. The value entered is rolled up to the related campaign in the total cost calculations.
Public propertyActualCost_Base Shows the Actual Cost field converted to the system's default base currency for reporting purposes. The calculations use the exchange rate specified in the Currencies area.
Public propertyActualDurationMinutes Shows the value selected in the Duration field on the campaign activity. The duration is used to report the time spent on the activity.
Public propertyActualEnd Enter the date when the campaign activity was actually completed.
Public propertyActualStart Enter the actual start date and time for the campaign activity to determine if the campaign activity started on the scheduled time.
Public propertyAttributes
(Inherited from Entity)
Public propertyBudgetedCost Type the allocated budget of the campaign activity for estimated versus actual cost reporting.
Public propertyBudgetedCost_Base Shows the Budget Allocated field converted to the system's default base currency. The calculations use the exchange rate specified in the Currencies area.
Public propertybusiness_unit_campaignactivity_activities N:1 business_unit_campaignactivity_activities
Public propertyCampaign_CampaignActivities N:1 Campaign_CampaignActivities
Public propertycampaignactivity_activity_parties 1:N campaignactivity_activity_parties
Public propertycampaignactivity_activityparties 1:N campaignactivity_activityparties
Public propertyCampaignActivity_ActivityPointers 1:N CampaignActivity_ActivityPointers
Public propertyCampaignActivity_Annotation 1:N CampaignActivity_Annotation
Public propertyCampaignActivity_Appointments 1:N CampaignActivity_Appointments
Public propertyCampaignActivity_AsyncOperations 1:N CampaignActivity_AsyncOperations
Public propertyCampaignActivity_BulkDeleteFailures 1:N CampaignActivity_BulkDeleteFailures
Public propertyCampaignActivity_BulkOperations 1:N CampaignActivity_BulkOperations
Public propertycampaignactivity_connections1 1:N campaignactivity_connections1
Public propertycampaignactivity_connections2 1:N campaignactivity_connections2
Public propertyCampaignActivity_Emails 1:N CampaignActivity_Emails
Public propertyCampaignActivity_Faxes 1:N CampaignActivity_Faxes
Public propertyCampaignActivity_Letters 1:N CampaignActivity_Letters
Public propertyCampaignActivity_MailboxTrackingFolder 1:N CampaignActivity_MailboxTrackingFolder
Public propertyCampaignActivity_Phonecalls 1:N CampaignActivity_Phonecalls
Public propertycampaignactivity_principalobjectattributeaccess 1:N campaignactivity_principalobjectattributeaccess
Public propertyCampaignActivity_ProcessSessions 1:N CampaignActivity_ProcessSessions
Public propertyCampaignActivity_QueueItem 1:N CampaignActivity_QueueItem
Public propertyCampaignActivity_RecurringAppointmentMasters 1:N CampaignActivity_RecurringAppointmentMasters
Public propertyCampaignActivity_SyncErrors 1:N CampaignActivity_SyncErrors
Public propertyCampaignActivity_Tasks 1:N CampaignActivity_Tasks
Public propertycampaignactivitylist_association N:N campaignactivitylist_association
Public propertycampaignactivitysalesliterature_association N:N campaignactivitysalesliterature_association
Public propertyCategory Type a category to identify the campaign activity type, such as new business development or customer retention, to tie the campaign activity to a business group or function.
Public propertyChannelTypeCode Select how communications for this activity will be sent, such as phone, letter, fax, or email.
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 additional information to describe the campaign activity, such as key talking points, objectives, or details about the target audience.
Public propertyDoNotSendOnOptOut Select whether to override the opt-out settings on leads, contacts, and accounts for the members of the target marketing lists of the campaign activity. If No is selected, marketing materials will be sent to members who have opted out.
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 propertyExcludeIfContactedInXDays Type the minimum number of days that must be passed before a marketing list member can be contacted in a campaign again. The campaign activity will not be applied to members contacted within the specified time period.
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyFrom For system use only.
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyIgnoreInactiveListMembers Select whether inactive marketing list members will be excluded from the campaign activity distribution.
Public propertyImportSequenceNumber Unique identifier of the data import or data migration that created this record.
Public propertyIsBilled Information regarding whether the campaign activity was billed as part of resolving a case.
Public propertyIsRegularActivity Information regarding whether the activity is a regular activity type or event type.
Public propertyIsWorkflowCreated Information about whether the campaign activity is created by a workflow rule.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertylk_campaignactivity_createdby N:1 lk_campaignactivity_createdby
Public propertylk_campaignactivity_createdonbehalfby N:1 lk_campaignactivity_createdonbehalfby
Public propertylk_campaignactivity_modifiedby N:1 lk_campaignactivity_modifiedby
Public propertylk_campaignactivity_modifiedonbehalfby N:1 lk_campaignactivity_modifiedonbehalfby
Public propertyLogicalName
(Inherited from Entity)
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 created the record on behalf of another user.
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 campaign activity.
Public propertyOwningTeam Unique identifier of the team who owns the campaign activity.
Public propertyOwningUser Unique identifier of the user who owns the campaign activity.
Public propertyPartners Enter the vendor accounts or contacts to capture any third-party suppliers used for the campaign 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_campaignactivities N:1 processstage_campaignactivities
Public propertyRegardingObjectId Choose the parent campaign so that the campaign activity costs reflect in the correct campaign for reporting.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRowVersion
(Inherited from Entity)
Public propertyScheduledDurationMinutes Scheduled duration, specified in minutes, of the campaign activity.
Public propertyScheduledEnd Enter the expected due date and time for the activity to be completed to provide details about the timing of the campaign activity.
Public propertyScheduledStart Enter the expected start date and time for the activity to provide details about timing of the campaign activity.
Public propertyServiceId Unique identifier of the associated service.
Public propertyStageId Shows the ID of the stage.
Public propertyStateCode Shows whether the campaign activity is open, completed, or canceled. Completed and canceled campaign activities are read-only and can't be edited.
Public propertyStatusCode Select the campaign activity's status.
Public propertySubcategory Type a subcategory to identify the campaign activity 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 campaign activity.
Public propertyteam_campaignactivity N:1 team_campaignactivity
Public propertyTimeZoneRuleVersionNumber For internal use only.
Public propertytransactioncurrency_campaignactivity N:1 transactioncurrency_campaignactivity
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 propertyTypeCode Select the type of campaign activity to indicate the purpose of the activity.
Public propertyuser_campaignactivity N:1 user_campaignactivity
Public propertyuserentityinstancedata_campaignactivity 1:N userentityinstancedata_campaignactivity
Public propertyUTCConversionTimeZoneCode Time zone code that was in use when the record was created.
Public propertyVersionNumber Version number of the campaign activity.
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