Click or drag to resize

Task Class

Generic activity representing work needed to be done.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceTask

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

The Task type exposes the following members.

Constructors
 NameDescription
Public methodTask Default Constructor.
Top
Properties
 NameDescription
Public propertyAccount_Tasks N:1 Account_Tasks
Public propertyactivity_pointer_task N:1 activity_pointer_task
Public propertyActivityAdditionalParams For internal use only.
Public propertyActivityId Unique identifier of the task.
Public propertyActivityTypeCode Type of activity.
Public propertyActualDurationMinutes Type the number of minutes spent on the task. The duration is used in reporting.
Public propertyActualEnd Enter the actual end date and time of the task. By default, it displays when the activity was completed or canceled.
Public propertyActualStart Enter the actual start date and time for the task. By default, it displays when the task was created.
Public propertyAttributes
(Inherited from Entity)
Public propertybookableresourcebooking_Tasks N:1 bookableresourcebooking_Tasks
Public propertybookableresourcebookingheader_Tasks N:1 bookableresourcebookingheader_Tasks
Public propertybusiness_unit_task_activities N:1 business_unit_task_activities
Public propertyCampaign_Tasks N:1 Campaign_Tasks
Public propertyCampaignActivity_Tasks N:1 CampaignActivity_Tasks
Public propertyCategory Type a category to identify the task type, such as lead gathering or customer follow up, to tie the task to a business group or function.
Public propertyContact_Tasks N:1 Contact_Tasks
Public propertyContract_Tasks N:1 Contract_Tasks
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 propertyCrmTaskAssignedUniqueId Assigned Task Unique Id
Public propertyDescription Type additional information to describe the task.
Public propertyentitlement_Tasks N:1 entitlement_Tasks
Public propertyentitlementtemplate_Tasks N:1 entitlementtemplate_Tasks
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 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_Tasks N:1 Incident_Tasks
Public propertyInvoice_Tasks N:1 Invoice_Tasks
Public propertyIsBilled Information which specifies whether the task 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 which specifies if the task was created from a workflow rule.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyKnowledgeArticle_Tasks N:1 KnowledgeArticle_Tasks
Public propertyKnowledgeBaseRecord_Tasks N:1 KnowledgeBaseRecord_Tasks
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_Tasks N:1 Lead_Tasks
Public propertylk_task_createdby N:1 lk_task_createdby
Public propertylk_task_createdonbehalfby N:1 lk_task_createdonbehalfby
Public propertylk_task_modifiedby N:1 lk_task_modifiedby
Public propertylk_task_modifiedonbehalfby N:1 lk_task_modifiedonbehalfby
Public propertyLogicalName
(Inherited from Entity)
Public propertymanualsla_task N:1 manualsla_task
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_Tasks N:1 msdyn_postalbum_Tasks
Public propertyOnHoldTime Shows how long, in minutes, that the record was on hold.
Public propertyOpportunity_Tasks N:1 Opportunity_Tasks
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 Shows the record owner's business unit.
Public propertyOwningTeam Unique identifier of the team that owns the task.
Public propertyOwningUser Unique identifier of the user that owns the task.
Public propertyPercentComplete Type the percentage complete value for the task to track tasks to completion.
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_tasks N:1 processstage_tasks
Public propertyQuote_Tasks N:1 Quote_Tasks
Public propertyRegardingObjectId Choose the record that the task relates to.
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRowVersion
(Inherited from Entity)
Public propertySalesOrder_Tasks N:1 SalesOrder_Tasks
Public propertyScheduledDurationMinutes Scheduled duration of the task, specified in minutes.
Public propertyScheduledEnd Enter the expected due date and time.
Public propertyScheduledStart Enter the expected due date and time.
Public propertyservice_tasks N:1 service_tasks
Public propertyServiceId Choose the service that is associated with this activity.
Public propertysla_task N:1 sla_task
Public propertySLAId Choose the service level agreement (SLA) that you want to apply to the Task record.
Public propertySLAInvokedId Last SLA that was applied to this Task. This field is for internal use only.
Public propertyslakpiinstance_task 1:N slakpiinstance_task
Public propertyStageId Shows the ID of the stage.
Public propertyStateCode Shows whether the task is open, completed, or canceled. Completed and canceled tasks are read-only and can't be edited.
Public propertyStatusCode Select the task's status.
Public propertySubcategory Type a subcategory to identify the task 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 task.
Public propertySubscriptionId For internal use only.
Public propertytask_activity_parties 1:N task_activity_parties
Public propertyTask_Annotation 1:N Task_Annotation
Public propertyTask_AsyncOperations 1:N Task_AsyncOperations
Public propertyTask_BulkDeleteFailures 1:N Task_BulkDeleteFailures
Public propertytask_connections1 1:N task_connections1
Public propertytask_connections2 1:N task_connections2
Public propertyTask_DuplicateBaseRecord 1:N Task_DuplicateBaseRecord
Public propertyTask_DuplicateMatchingRecord 1:N Task_DuplicateMatchingRecord
Public propertytask_PostFollows 1:N task_PostFollows
Public propertytask_principalobjectattributeaccess 1:N task_principalobjectattributeaccess
Public propertyTask_ProcessSessions 1:N Task_ProcessSessions
Public propertyTask_QueueItem 1:N Task_QueueItem
Public propertyTask_SyncErrors 1:N Task_SyncErrors
Public propertyteam_task N:1 team_task
Public propertyTimeZoneRuleVersionNumber For internal use only.
Public propertyTransactionCurrency_Task N:1 TransactionCurrency_Task
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_task N:1 user_task
Public propertyuserentityinstancedata_task 1:N userentityinstancedata_task
Public propertyUTCConversionTimeZoneCode Time zone code that was in use when the record was created.
Public propertyVersionNumber Version number of the task.
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