Incident (Case) Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

The following information is for the incident (case) entity in a default, uncustomized installation of Microsoft Dynamics CRM. The schema name and early bound class for this entity is Incident.

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

Privilege Metadata

Attribute Metadata

One-to-Many Relationships

Many-to-Many Relationships

Many-to-One Relationships

Entity Metadata

The following table shows the metadata for the incident (case) entity.

Metadata property Value

OTC

112

EntityLogicalName

incident

DisplayName

Case

OwnershipType

UserOwned

IsCustomizable

True

Description

Service request case associated with a contract.

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

False

IsActivityParty

True

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

True

IsEnabledForCharts

True

IsImportable

True

IsIntersect

False

IsMailMergeEnabled

True

IsManaged

True

IsMappable

True

IsReadingPaneEnabled

True

IsRenameable

True

IsValidForAdvancedFind

True

IsValidForQueue

True

IsVisibleInMobile

True

PrimaryIdAttribute

incidentid

PrimaryNameAttribute

title

ReportViewName

FilteredIncident

RecurrenceBaseEntityLogicalName

DisplayCollectionName

Cases

Privilege Metadata

The following table shows the privilege metadata for the incident (case) entity.

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendIncident

694cfd50-f68a-4d3b-a4a1-5d4a47104359

Append

True

True

True

True

prvAppendToIncident

0546c535-a7ea-4e79-9047-395bf1d240ff

AppendTo

True

True

True

True

prvAssignIncident

f8effb69-527f-4265-8d63-cc35dee7b9d2

Assign

True

True

True

True

prvCreateIncident

6cf9442b-e690-4cad-8b0a-e60464960b93

Create

True

True

True

True

prvDeleteIncident

7e1cdc99-5379-429b-a8d2-ab6fe15f862b

Delete

True

True

True

True

prvReadIncident

c2aff40c-6e68-4437-a631-488a354a1860

Read

True

True

True

True

prvShareIncident

287e74d0-926a-4922-b732-0ce03c26471b

Share

True

True

True

True

prvWriteIncident

7b26693f-1c0c-4e87-8918-f4cc7d219d70

Write

True

True

True

True

Attribute Metadata

The following table shows the attribute metadata for the incident (case) entity. See Internal Attributes for a list of attributes that are for internal use only.

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

accountid

Unique identifier of the account with which the case is associated.

Lookup

AccountId

False

True

None

False

True

False

False

False

False

True

True

False

False

False

False

False

Account

actualserviceunits

Actual number of service units provided for the case.

Integer

ActualServiceUnits

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Actual Service Units

billedserviceunits

Number of service units billed for the case.

Integer

BilledServiceUnits

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Billed Service Units

caseorigincode

Information that specifies the source of the case information, such as Web, telephone, or e-mail.

Picklist

CaseOriginCode

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Case Origin

casetypecode

Information that specifies the type of case.

Picklist

CaseTypeCode

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Case Type

contactid

Unique identifier of the contact associated with the case.

Lookup

ContactId

False

True

None

False

True

False

False

False

False

True

True

False

False

False

False

False

Contact

contractdetailid

Unique identifier of the specific contract line item that is referenced in the case.

Lookup

ContractDetailId

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Contract Line

contractid

Unique identifier of the contract referenced in the case.

Lookup

ContractId

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Contract

contractservicelevelcode

Response level for the case. The response level corresponds to the level of service specified in the contract.

Picklist

ContractServiceLevelCode

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Service Level

createdby

Unique identifier of the user who created the case.

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 case 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 incident.

Lookup

CreatedOnBehalfBy

False

True

None

False

True

False

False

False

False

False

True

False

False

True

False

True

Created By (Delegate)

customerid

Unique identifier of the account or contact associated with the case.

Customer

CustomerId

False

True

SystemRequired

True

True

True

False

False

False

True

True

False

False

True

False

True

Customer

customersatisfactioncode

Customer's level of satisfaction with the resolution of the case.

Picklist

CustomerSatisfactionCode

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Satisfaction

description

Description of the case.

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 incident 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

existingcase

Select an existing case for the customer that has been populated. For internal use only.

Lookup

ExistingCase

False

False

None

True

True

True

False

False

False

False

True

False

False

False

False

False

Existing Case

followupby

Date by which the customer support representative needs to follow up the case.

DateTime

FollowupBy

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Follow Up By

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

incidentid

Unique identifier of the case.

Uniqueidentifier

IncidentId

False

True

SystemRequired

True

True

False

False

False

False

False

True

True

False

True

False

True

Case

incidentstagecode

Stage of the resolution process for the case.

Picklist

IncidentStageCode

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Case Stage

isdecrementing

Information that specifies whether the case is decrementing.

Boolean

IsDecrementing

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Decrementing

kbarticleid

Unique identifier of the knowledge base article associated with the case.

Lookup

KbArticleId

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

False

Knowledge Base Article

modifiedby

Unique identifier of the user who last modified the case.

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 case 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 incident.

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 case.

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 case.

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 who owns the case.

Lookup

OwningTeam

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Owning Team

owninguser

Unique identifier of the user who owns the case.

Lookup

OwningUser

False

True

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Owning User

prioritycode

Priority of the case.

Picklist

PriorityCode

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Priority

productid

Unique identifier of the product associated with the case.

Lookup

ProductId

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Product

productserialnumber

Serial number of the product that is referenced in the case.

String

ProductSerialNumber

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Serial Number

responsiblecontactid

Unique identifier of the contact responsible for resolving the case.

Lookup

ResponsibleContactId

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Responsible Contact

servicestage

The service stage of the incident.

Picklist

ServiceStage

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Service Stage

severitycode

Severity of the case.

Picklist

SeverityCode

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Severity

statecode

Status of the case.

State

StateCode

False

True

SystemRequired

False

True

False

False

False

False

True

True

False

False

True

False

True

Status

statuscode

Reason for the status of the case.

Status

StatusCode

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Status Reason

subjectid

Unique identifier of the subject associated with the case.

Lookup

SubjectId

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Subject

ticketnumber

Auto-generated case number.

String

TicketNumber

False

True

None

True

True

False

False

False

False

True

True

False

False

True

False

True

Case Number

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

title

Title of the case.

String

Title

False

True

ApplicationRequired

True

True

True

False

False

False

True

True

False

True

True

False

True

Title

transactioncurrencyid

Unique identifier of the currency associated with the incident.

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 case.

BigInt

VersionNumber

False

False

None

False

True

False

False

False

False

False

True

False

False

False

False

False

Version Number

Internal Attributes

The following table contains the attributes that are intended for internal use only, if you have the Microsoft Dynamics CRM December 2012 Service Update without Product Updates installed or you have Microsoft Dynamics CRM 2011 Update Rollup 12 installed. For more information, see Updated User Experience for Sales and Service and Product Updates.

Attribute logical name

existingcase

servicestage

One-to-Many Relationships

The following table shows the entities that are the referencing entity in a one-to-many relationship with the incident (case) entity.

Relationship schema name Referencing entity

incident_activity_parties

activityparty

Incident_ActivityPointers

activitypointer

Incident_Annotation

annotation

Incident_Appointments

appointment

Incident_AsyncOperations

asyncoperation

Incident_BulkDeleteFailures

bulkdeletefailure

incident_connections2

connection

incident_connections1

connection

Incident_DuplicateBaseRecord

duplicaterecord

Incident_DuplicateMatchingRecord

duplicaterecord

Incident_Emails

email

Incident_Faxes

fax

incident_existingcase

incident

Incident_IncidentResolutions

incidentresolution

Incident_Letters

letter

Incident_Phonecalls

phonecall

incident_PostFollows

postfollow

incident_PostRegardings

postregarding

incident_PostRoles

postrole

incident_principalobjectattributeaccess

principalobjectattributeaccess

Incident_ProcessSessions

processsession

Incident_QueueItem

queueitem

Incident_RecurringAppointmentMasters

recurringappointmentmaster

Incident_ServiceAppointments

serviceappointment

Incident_Tasks

task

userentityinstancedata_incident

userentityinstancedata

Many-to-Many Relationships

The following table shows the many-to-many relationships for the incident (case) entity.

Many-to-One Relationships

The following table shows the entities that are the referenced entity in a many-to-one relationship with the incident (case) entity.

Relationship schema name Referenced entity

incident_customer_accounts

account

business_unit_incidents

businessunit

incident_customer_contacts

contact

contact_as_responsible_contact

contact

contract_cases

contract

contract_detail_cases

contractdetail

incident_existingcase

incident

kbarticle_incidents

kbarticle

owner_incidents

owner

product_incidents

product

subject_incidents

subject

system_user_incidents

systemuser

lk_incidentbase_createdby

systemuser

lk_incidentbase_modifiedby

systemuser

lk_incidentbase_modifiedonbehalfby

systemuser

lk_incidentbase_createdonbehalfby

systemuser

team_incidents

team

TransactionCurrency_Incident

transactioncurrency

See Also

Reference

EntityMetadata
AttributeMetadata
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata

Concepts

Incident (Case) Entity Messages and Methods
Incident (Case) Entity Privileges

Other Resources

Incident (Case) Entities

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