Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Service Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

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

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

 

Entity metadata property Value

OTC

4001

EntityLogicalName

service

DisplayName

Service

OwnershipType

OrganizationOwned

IsCustomizable

True

Description

Activity that represents work done to satisfy a customer's need.

IsAvailableOffline

True

IsAuditEnabled

False

AutoRouteToOwnerQueue

False

CanBeInManyToMany

False

CanBePrimaryEntityInRelationship

True

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

True

CanCreateForms

False

CanCreateViews

True

CanModifyAdditionalSettings

True

CanTriggerWorkflow

True

IsActivity

False

IsActivityParty

False

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

False

IsEnabledForCharts

True

IsImportable

True

IsIntersect

False

IsMailMergeEnabled

False

IsManaged

True

IsMappable

True

IsReadingPaneEnabled

True

IsRenameable

False

IsValidForAdvancedFind

True

IsValidForQueue

False

IsVisibleInMobile

False

PrimaryIdAttribute

serviceid

PrimaryNameAttribute

name

ReportViewName

FilteredService

RecurrenceBaseEntityLogicalName

DisplayCollectionName

Services

Privilege Metadata

The following table shows the entity privilege metadata for the service entity.

 

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendService

6df05f16-c7cd-4c24-a306-c5d43311d189

Append

False

False

True

False

prvAppendToService

39bdc280-2f57-4387-9f7a-d1d05527a705

AppendTo

False

False

True

False

prvCreateService

8e28f1e3-f63e-4a02-b0c8-9f130ec5b3ff

Create

False

False

True

False

prvDeleteService

72d802a8-97bf-4b01-b5bf-edeede5ab71c

Delete

False

False

True

False

prvReadService

ca4a3b9f-6887-4b5d-90f4-e918ed17e175

Read

False

False

True

False

prvWriteService

4ab2e389-eca5-42b9-ad4b-7893867ba1de

Write

False

False

True

False

Attribute Metadata

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

 

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

service

yes

no

anchoroffset

Used in conjunction with granularity to describes when services can be performed in relation to midnight on a given day.

Integer

AnchorOffset

False

True

ApplicationRequired

True

True

True

False

False

False

True

True

False

False

False

False

False

Anchor Offset

service

yes

no

calendarid

Unique identifier of the calendar.

Uniqueidentifier

CalendarId

False

False

None

True

True

True

False

False

False

False

True

False

False

False

False

False

Calendar

service

yes

no

createdby

Unique identifier of the user who created the service.

Lookup

CreatedBy

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created By

service

yes

no

createdon

Date and time when the service was created.

DateTime

CreatedOn

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created On

service

yes

no

createdonbehalfby

Unique identifier of the delegate user who created the service.

Lookup

CreatedOnBehalfBy

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Created By (Delegate)

service

yes

no

description

Description of activity that represents work done to satisfy a customer's need.

Memo

Description

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

True

Description

service

yes

no

duration

Duration of the service.

Integer

Duration

False

True

SystemRequired

True

True

True

False

False

False

True

True

False

False

False

False

True

Duration

service

yes

no

granularity

Describes how often the service is performed.

String

Granularity

False

True

SystemRequired

True

True

True

False

False

False

True

True

False

False

False

False

False

Granularity

service

yes

no

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

False

False

True

Import Sequence Number

service

yes

no

initialstatuscode

Initial status reason for the service activity.

Status

InitialStatusCode

False

True

SystemRequired

True

True

True

False

False

False

True

True

False

False

False

False

False

Initial Status Reason

service

yes

no

isschedulable

Information about whether the service can be scheduled.

Boolean

IsSchedulable

False

True

SystemRequired

True

True

True

False

False

False

True

True

False

False

False

False

True

Status

service

yes

no

isvisible

Information about whether the service is visible to users.

Boolean

IsVisible

False

True

None

True

True

True

False

False

False

True

True

False

False

False

False

False

Is Visible

service

yes

no

modifiedby

Unique identifier of the user who last modified the service.

Lookup

ModifiedBy

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Modified By

service

yes

no

modifiedon

Date and time when the service was last modified.

DateTime

ModifiedOn

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Modified On

service

yes

no

modifiedonbehalfby

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

Lookup

ModifiedOnBehalfBy

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

True

Modified By (Delegate)

service

yes

no

name

Name of the service.

String

Name

False

True

SystemRequired

True

True

True

False

False

False

True

True

False

True

False

False

True

Name

service

yes

no

organizationid

Unique identifier of the organization with which the service is associated.

Lookup

OrganizationId

False

False

SystemRequired

False

True

False

False

False

False

False

True

False

False

False

False

False

Organization

service

yes

no

overriddencreatedon

Date and time that the record was migrated.

DateTime

OverriddenCreatedOn

False

True

None

True

True

False

False

False

False

True

True

False

False

False

False

True

Record Created On

service

yes

no

resourcespecid

Unique identifier of the resource specification with which the service is associated.

Lookup

ResourceSpecId

False

True

SystemRequired

True

True

True

False

False

False

True

True

False

False

False

False

False

Required Resources

service

yes

no

serviceid

Unique identifier of the associated service.

Uniqueidentifier

ServiceId

False

False

SystemRequired

True

True

False

False

False

False

False

True

True

False

False

False

True

Service

service

yes

no

showresources

For internal use only.

Boolean

ShowResources

False

True

None

True

True

True

False

False

False

False

True

False

False

False

False

False

Show Resources

service

yes

no

strategyid

Value that is taken from PluginTypeId in the Plugin Type record for the scheduling strategy. This is the ID of the scheduling strategy plug-in associated with the service.

Lookup

StrategyId

False

True

SystemRequired

True

True

True

False

False

False

True

True

False

False

False

False

False

Strategy

service

yes

no

versionnumber

Version number of the service.

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

 

Relationship schema name Referencing entity

service_accounts

account

service_activity_pointers

activitypointer

Service_Annotation

annotation

service_appointments

appointment

Service_AsyncOperations

asyncoperation

Service_BulkDeleteFailures

bulkdeletefailure

service_calendar_rules

calendarrule

service_contacts

contact

Service_DuplicateBaseRecord

duplicaterecord

Service_DuplicateMatchingRecord

duplicaterecord

service_emails

email

service_faxes

fax

service_incidentresolutions

incidentresolution

service_letters

letter

service_opportunityclose

opportunityclose

service_orderclose

orderclose

service_phonecalls

phonecall

Service_ProcessSessions

processsession

service_quoteclose

quoteclose

service_recurringappointmentmasters

recurringappointmentmaster

service_service_appointments

serviceappointment

service_tasks

task

userentityinstancedata_service

userentityinstancedata

Many-to-Many Relationships

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

Many-to-One Relationships

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

 

Relationship schema name Referenced entity

calendar_services

calendar

organization_services

organization

plugin_type_service

plugintype

resource_spec_services

resourcespec

lk_service_createdby

systemuser

lk_service_createdonbehalfby

systemuser

lk_service_modifiedonbehalfby

systemuser

lk_service_modifiedby

systemuser

See Also

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

Community Additions

Show:
© 2015 Microsoft