Task Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

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

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

 

Metadata property Value

OTC

4212

EntityLogicalName

task

DisplayName

Task

OwnershipType

UserOwned

IsCustomizable

True

Description

Generic activity representing work needed to be done.

IsAvailableOffline

True

IsAuditEnabled

False

AutoRouteToOwnerQueue

False

CanBeInManyToMany

True

CanBePrimaryEntityInRelationship

True

CanBeRelatedEntityInRelationship

True

CanCreateAttributes

True

CanCreateCharts

True

CanCreateForms

True

CanCreateViews

True

CanModifyAdditionalSettings

True

CanTriggerWorkflow

True

IsActivity

True

IsActivityParty

False

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

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

FilteredTask

RecurrenceBaseEntityLogicalName

DisplayCollectionName

Tasks

Privilege Metadata

The following table shows the privilege metadata for the task 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 task entity.

 

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

activityid

Unique identifier of the task.

Uniqueidentifier

ActivityId

False

True

SystemRequired

True

True

False

False

False

False

False

True

True

False

True

False

True

Task

activitytypecode

Type of activity.

EntityName

ActivityTypeCode

False

True

SystemRequired

False

True

False

False

False

False

True

True

False

False

True

False

True

Activity Type

actualdurationminutes

Actual duration of the task in minutes.

Integer

ActualDurationMinutes

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Duration

actualend

Actual end time of the task.

DateTime

ActualEnd

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Actual End

actualstart

Actual start time of the task.

DateTime

ActualStart

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Actual Start

category

Category of the task.

String

Category

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Category

createdby

Unique identifier of the user who created the task.

Lookup

CreatedBy

False

True

None

False

True

False

False

False

False

False

True

False

False

True

False

True

Created By

createdon

Date and time when the task was created.

DateTime

CreatedOn

False

True

None

False

True

False

False

False

False

False

True

False

False

True

False

True

Created On

createdonbehalfby

Unique identifier of the delegate user who created the task.

Lookup

CreatedOnBehalfBy

False

True

None

False

True

False

False

False

False

False

True

False

False

True

False

True

Created By (Delegate)

description

Description of the task.

Memo

Description

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Description

exchangerate

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

Decimal

ExchangeRate

False

True

None

False

True

False

False

False

False

True

True

False

False

True

False

True

Exchange Rate

importsequencenumber

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

Integer

ImportSequenceNumber

False

True

None

True

True

False

False

False

False

True

True

False

False

True

False

True

Import Sequence Number

isbilled

Information which specifies whether the task was billed as part of resolving a case.

Boolean

IsBilled

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Is Billed

isregularactivity

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

Boolean

IsRegularActivity

False

True

SystemRequired

False

True

False

False

False

False

True

True

False

False

True

False

True

Is Regular Activity

isworkflowcreated

Information which specifies if the task was created from a workflow rule.

Boolean

IsWorkflowCreated

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Is Workflow Created

modifiedby

Unique identifier of the user who last modified the task.

Lookup

ModifiedBy

False

True

None

False

True

False

False

False

False

False

True

False

False

True

False

True

Modified By

modifiedon

Date and time when the task was last modified.

DateTime

ModifiedOn

False

True

None

False

True

False

False

False

False

False

True

False

False

True

False

True

Modified On

modifiedonbehalfby

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

Lookup

ModifiedOnBehalfBy

False

True

None

False

True

False

False

False

False

False

True

False

False

True

False

True

Modified By (Delegate)

overriddencreatedon

Date and time that the record was migrated.

DateTime

OverriddenCreatedOn

False

True

None

True

True

False

False

False

False

True

True

False

False

True

False

True

Record Created On

ownerid

Unique identifier of the user or team who owns the task.

Owner

OwnerId

False

True

SystemRequired

True

True

False

False

False

False

True

True

False

False

True

False

True

Owner

owningbusinessunit

Unique identifier of the business unit that owns the task.

Lookup

OwningBusinessUnit

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Owning Business Unit

owningteam

Unique identifier of the team that owns the task.

Lookup

OwningTeam

False

True

None

False

True

False

False

False

False

False

True

False

False

True

False

True

Owning Team

owninguser

Unique identifier of the user that owns the task.

Lookup

OwningUser

False

True

None

False

True

False

False

False

False

False

True

False

False

True

False

True

Owning User

percentcomplete

How much of the task has been completed, given in a percentage.

Integer

PercentComplete

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Percent Complete

prioritycode

Priority of the task.

Picklist

PriorityCode

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Priority

regardingobjectid

Unique identifier of the object with which the task is associated.

Lookup

RegardingObjectId

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Regarding

scheduleddurationminutes

Scheduled duration of the task, specified in minutes.

Integer

ScheduledDurationMinutes

False

True

None

False

True

False

False

False

False

True

True

False

False

True

False

True

Scheduled Duration

scheduledend

Scheduled end time of the task.

DateTime

ScheduledEnd

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Due Date

scheduledstart

Scheduled start time of the task.

DateTime

ScheduledStart

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Start Date

serviceid

Unique identifier for an associated service.

Lookup

ServiceId

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

False

Service

statecode

Status of the task.

State

StateCode

False

True

SystemRequired

False

True

False

False

False

False

True

True

False

False

True

False

True

Activity Status

statuscode

Reason for the status of the task.

Status

StatusCode

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Status Reason

subcategory

Sub category of the task.

String

Subcategory

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Sub-Category

subject

Subject associated with the task.

String

Subject

False

True

ApplicationRequired

True

True

True

False

False

False

True

True

False

True

True

False

True

Subject

subscriptionid

For internal use only.

Uniqueidentifier

SubscriptionId

False

False

None

True

False

False

False

False

False

False

True

False

False

False

False

False

Subscription

timezoneruleversionnumber

For internal use only.

Integer

TimeZoneRuleVersionNumber

False

True

None

True

True

True

False

False

False

False

True

False

False

False

False

False

Time Zone Rule Version Number

transactioncurrencyid

Unique identifier of the currency associated with the task.

Lookup

TransactionCurrencyId

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Currency

utcconversiontimezonecode

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

Integer

UTCConversionTimeZoneCode

False

True

None

True

True

True

False

False

False

False

True

False

False

False

False

False

UTC Conversion Time Zone Code

versionnumber

Version number of the task.

BigInt

VersionNumber

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Version Number

One-to-Many Relationships

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

 

Relationship schema name Referencing entity

task_activity_parties

activityparty

Task_Annotation

annotation

Task_AsyncOperations

asyncoperation

Task_BulkDeleteFailures

bulkdeletefailure

task_connections2

connection

task_connections1

connection

Task_DuplicateBaseRecord

duplicaterecord

Task_DuplicateMatchingRecord

duplicaterecord

task_PostFollows

postfollow

task_PostRegardings

postregarding

task_PostRoles

postrole

task_principalobjectattributeaccess

principalobjectattributeaccess

Task_ProcessSessions

processsession

Task_QueueItem

queueitem

userentityinstancedata_task

userentityinstancedata

Many-to-Many Relationships

The following table shows the many-to-many relationships for the task entity.

 

Relationship schema name Entity 1 Entity 2 Intersect entity

task_subscription_association

subscription

task

subscriptionmanuallytrackedobject

For information about using intersect entities, see Retrieve Records for Many-To-Many Relationships Using Intersect Entities.

Many-to-One Relationships

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

 

Relationship schema name Referenced entity

Account_Tasks

account

activity_pointer_task

activitypointer

business_unit_task_activities

businessunit

Campaign_Tasks

campaign

CampaignActivity_Tasks

campaignactivity

Contact_Tasks

contact

Contract_Tasks

contract

Incident_Tasks

incident

Invoice_Tasks

invoice

Lead_Tasks

lead

msdyn_postalbum_Tasks

msdyn_postalbum

Opportunity_Tasks

opportunity

Quote_Tasks

quote

SalesOrder_Tasks

salesorder

service_tasks

service

lk_task_createdby

systemuser

user_task

systemuser

lk_task_createdonbehalfby

systemuser

lk_task_modifiedby

systemuser

lk_task_modifiedonbehalfby

systemuser

team_task

team

TransactionCurrency_Task

transactioncurrency

See Also

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

Community Additions

Show: