OpportunityClose Activity Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

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

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 opportunity close activity entity.

Entity metadata property Value

EntityLogicalName

opportunityclose

DisplayName

Opportunity Close

DisplayCollectionName

Opportunity Close Activities

OTC

4208

OwnershipType

UserOwned

IsCustomizable

True

IsAvailableOffline

True

AutoRouteToOwnerQueue

False

CanBeInManyToMany

False

CanBePrimaryEntityInRelationship

False

CanBeRelatedEntityInRelationship

False

CanCreateAttributes

False

CanCreateCharts

False

CanCreateForms

False

CanCreateViews

False

CanModifyAdditionalSettings

True

CanTriggerWorkflow

False

IsActivity

True

IsActivityParty

False

IsAuditEnabled

False

IsChildEntity

False

IsConnectionsEnabled

canmodifyconnectionsettings

IsCustomEntity

False

IsDocumentManagementEnabled

False

IsDuplicateDetectionEnabled

False

IsEnabledForCharts

False

IsImportable

True

IsIntersect

False

IsMailMergeEnabled

False

IsManaged

True

IsMappable

True

IsReadingPaneEnabled

True

IsRenameable

False

IsValidForAdvancedFind

False

IsValidForQueue

False

IsVisibleInMobile

True

PrimaryIdAttribute

activityid

PrimaryNameAttribute

subject

ReportViewName

FilteredOpportunityClose

RecurrenceBaseEntityLogicalName

Description

Activity that is created automatically when an opportunity is closed, containing information such as the description of the closing and actual revenue.

Privilege Metadata

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

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

activityid

ActivityId

Opportunity Close

Uniqueidentifier

SystemRequired

True

True

False

False

False

False

False

False

False

True

True

False

False

False

True

Unique identifier of the opportunity close activity.

activitytypecode

ActivityTypeCode

Activity Type

EntityName

SystemRequired

False

True

False

False

False

False

True

False

True

True

False

False

False

False

True

Type of activity.

actualdurationminutes

ActualDurationMinutes

Actual Duration

Integer

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

False

Actual duration of the opportunity close activity in minutes.

actualend

ActualEnd

Closed On

DateTime

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

True

Actual end time of the opportunity close activity.

actualrevenue

ActualRevenue

Actual Revenue

Money

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

True

Actual revenue generated for the opportunity.

actualrevenue_base

ActualRevenue_Base

Actual Revenue (Base)

Money

None

False

True

False

False

False

False

True

False

True

True

False

False

False

False

True

Base currency equivalent of the actual revenue generated for the opportunity.

actualstart

ActualStart

Actual Start

DateTime

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

False

Actual start time of the opportunity close activity.

category

Category

Category

String

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

True

Category of the opportunity close activity.

competitorid

CompetitorId

Competitor

Lookup

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

True

Unique identifier of the competitor with which the opportunity close activity is associated.

createdby

CreatedBy

Created By

Lookup

None

False

True

False

False

False

False

False

False

False

True

False

False

False

False

True

Unique identifier of the user who created the opportunity close activity.

createdon

CreatedOn

Created On

DateTime

None

False

True

False

False

False

False

False

False

False

True

False

False

False

False

True

Date and time when the opportunity close activity was created.

createdonbehalfby

CreatedOnBehalfBy

Created By (Delegate)

Lookup

None

False

True

False

False

False

False

False

False

True

True

False

False

False

False

True

Unique identifier of the delegate user who created the opportunityclose.

description

Description

Description

Memo

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

True

Activity that is created automatically when an opportunity is closed, containing information such as the description of the closing and actual revenue.

exchangerate

ExchangeRate

Exchange Rate

Decimal

None

False

True

False

False

False

False

True

False

True

True

False

False

False

False

True

Exchange rate for the currency associated with the opportunity close activity with respect to the base currency.

importsequencenumber

ImportSequenceNumber

Import Sequence Number

Integer

None

True

True

False

False

False

False

True

False

True

True

False

False

False

False

True

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

isbilled

IsBilled

Is Billed

Boolean

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

True

Information about whether the opportunity close activity was billed as part of resolving a case.

isregularactivity

IsRegularActivity

Is Regular Activity

Boolean

SystemRequired

False

True

False

False

False

False

True

False

True

True

False

False

False

False

True

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

isworkflowcreated

IsWorkflowCreated

Is Workflow Created

Boolean

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

False

Information that specifies if the opportunity close activity was created from a workflow rule.

modifiedby

ModifiedBy

Modified By

Lookup

None

False

True

False

False

False

False

False

False

False

True

False

False

False

False

True

Unique identifier of the user who last modified the opportunity close activity.

modifiedon

ModifiedOn

Modified On

DateTime

None

False

True

False

False

False

False

False

False

False

True

False

False

False

False

True

Date and time when the opportunity close activity was last modified.

modifiedonbehalfby

ModifiedOnBehalfBy

Modified By (Delegate)

Lookup

None

False

True

False

False

False

False

False

False

True

True

False

False

False

False

True

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

opportunityid

OpportunityId

Opportunity

Lookup

ApplicationRequired

True

True

True

False

False

False

True

False

True

True

False

False

False

False

True

Unique identifier of the opportunity closed.

overriddencreatedon

OverriddenCreatedOn

Record Created On

DateTime

None

True

True

False

False

False

False

True

False

True

True

False

False

False

False

True

Date and time that the record was migrated.

ownerid

OwnerId

Owner

Owner

SystemRequired

True

True

False

False

False

False

True

False

True

True

False

False

False

False

True

Unique identifier of the user or team who owns the opportunity close activity.

owningbusinessunit

OwningBusinessUnit

Owning Business Unit

Lookup

None

False

True

False

False

False

False

False

False

True

True

False

False

False

False

False

Unique identifier of the business unit that owns the opportunity close activity.

owningteam

OwningTeam

Owning Team

Lookup

None

False

True

False

False

False

False

False

False

True

True

False

False

False

False

False

Unique identifier of the team who owns the opportunity close activity.

owninguser

OwningUser

Owning User

Lookup

None

False

True

False

False

False

False

False

False

True

True

False

False

False

False

False

Unique identifier of the user who owns the opportunity close activity.

scheduleddurationminutes

ScheduledDurationMinutes

Scheduled Duration

Integer

None

False

True

False

False

False

False

True

False

True

True

False

False

False

False

False

Scheduled duration of the opportunity close activity, specified in minutes.

scheduledend

ScheduledEnd

Scheduled End

DateTime

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

False

Scheduled end time of the opportunity close activity.

scheduledstart

ScheduledStart

Scheduled Start

DateTime

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

False

Scheduled start time of the opportunity close activity.

serviceid

ServiceId

Service

Lookup

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

False

Unique identifier of the service with which the opportunity close activity is associated.

statecode

StateCode

Status

State

SystemRequired

False

True

False

False

False

False

True

False

True

True

False

False

False

False

True

Status of the opportunity close activity.

statuscode

StatusCode

Status Reason

Status

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

False

Reason for the status of the opportunity close activity.

subcategory

Subcategory

Sub-Category

String

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

True

Subcategory of the opportunity close activity.

subject

Subject

Subject

String

None

True

True

True

False

False

False

True

False

True

True

False

True

False

False

True

Subject associated with the opportunity close activity.

timezoneruleversionnumber

TimeZoneRuleVersionNumber

Time Zone Rule Version Number

Integer

None

True

True

True

False

False

False

False

False

True

True

False

False

False

False

False

For internal use only.

transactioncurrencyid

TransactionCurrencyId

Currency

Lookup

None

True

True

True

False

False

False

True

False

True

True

False

False

False

False

True

Unique identifier of the currency associated with the opportunity close.

utcconversiontimezonecode

UTCConversionTimeZoneCode

UTC Conversion Time Zone Code

Integer

None

True

True

True

False

False

False

False

False

True

True

False

False

False

False

False

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

versionnumber

VersionNumber

Version Number

BigInt

None

False

True

False

False

False

False

False

False

False

True

False

False

False

False

False

Version number of the opportunity close activity.

One-to-Many Relationships

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

Relationship schema name Referencing Entity

opportunityclose_activity_parties

activityparty

OpportunityClose_Annotation

annotation

OpportunityClose_AsyncOperations

asyncoperation

OpportunityClose_BulkDeleteFailures

bulkdeletefailure

userentityinstancedata_opportunityclose

userentityinstancedata

Many-to-Many Relationships

There are no many-to-many relationships for the opportunity close activity entity.

Many-to-One Relationships

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

Relationship schema name Referenced Entity

activity_pointer_opportunity_close

activitypointer

business_unit_opportunity_close_activities

businessunit

competitor_opportunity_activities

competitor

Opportunity_OpportunityClose

opportunity

service_opportunityclose

service

user_opportunityclose

systemuser

lk_opportunityclose_modifiedonbehalfby

systemuser

lk_opportunityclose_createdby

systemuser

lk_opportunityclose_createdonbehalfby

systemuser

lk_opportunityclose_modifiedby

systemuser

team_opportunityclose

team

transactioncurrency_opportunityclose

transactioncurrency

See Also

Reference

EntityMetadata
AttributeMetadata
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata

Concepts

OpportunityClose Activity Entity Messages and Methods
OpportunityClose Activity Entity OptionSet Attribute Metadata
OpportunityClose Entity Privileges

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