OrderClose Activity Entity Metadata
[Applies to: Microsoft Dynamics CRM 2011]
The following information is for the order close activity entity in a default, uncustomized installation of Microsoft Dynamics CRM. The schema name and early bound class for this entity is OrderClose.
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 order close activity entity.
Entity metadata property | Value |
---|---|
OTC |
4209 |
EntityLogicalName |
orderclose |
DisplayName |
Order Close |
OwnershipType |
UserOwned |
IsCustomizable |
True |
Description |
Activity generated automatically when an order is closed. |
IsAvailableOffline |
True |
IsAuditEnabled |
False |
AutoRouteToOwnerQueue |
False |
CanBeInManyToMany |
False |
CanBePrimaryEntityInRelationship |
False |
CanBeRelatedEntityInRelationship |
False |
CanCreateAttributes |
False |
CanCreateCharts |
False |
CanCreateForms |
False |
CanCreateViews |
False |
CanModifyAdditionalSettings |
True |
CanTriggerWorkflow |
False |
IsActivity |
True |
IsActivityParty |
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 |
False |
PrimaryIdAttribute |
activityid |
PrimaryNameAttribute |
subject |
ReportViewName |
FilteredOrderClose |
RecurrenceBaseEntityLogicalName |
|
DisplayCollectionName |
Order Close Activities |
Privilege Metadata
The following table shows the entity privilege metadata for the order 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 order close activity 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
orderclose |
yes |
no |
activityid |
Unique identifier of the order close activity. |
Uniqueidentifier |
ActivityId |
False |
False |
SystemRequired |
True |
True |
False |
False |
False |
False |
False |
True |
True |
False |
False |
False |
True |
Order Close |
orderclose |
yes |
no |
activitytypecode |
Type of activity. |
EntityName |
ActivityTypeCode |
False |
True |
SystemRequired |
False |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Activity Type |
orderclose |
yes |
no |
actualdurationminutes |
Actual duration of the order close activity in minutes. |
Integer |
ActualDurationMinutes |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
False |
Actual Duration |
orderclose |
yes |
no |
actualend |
Actual end time of the order close activity. |
DateTime |
ActualEnd |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Closed Date |
orderclose |
yes |
no |
actualstart |
Actual start time of the order close activity. |
DateTime |
ActualStart |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
False |
Actual Start |
orderclose |
yes |
no |
category |
Category of the order close activity. |
String |
Category |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Category |
orderclose |
yes |
no |
createdby |
Unique identifier of the user who created the order close activity. |
Lookup |
CreatedBy |
False |
False |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Created By |
orderclose |
yes |
no |
createdon |
Date and time when the order close activity was created. |
DateTime |
CreatedOn |
False |
False |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Created On |
orderclose |
yes |
no |
createdonbehalfby |
Unique identifier of the delegate user who created the orderclose. |
Lookup |
CreatedOnBehalfBy |
False |
True |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Created By (Delegate) |
orderclose |
yes |
no |
description |
Activity generated automatically when an order is closed. |
Memo |
Description |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Description |
orderclose |
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 |
orderclose |
yes |
no |
isbilled |
Information about whether the order close activity was billed as part of resolving a case. |
Boolean |
IsBilled |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Is Billed |
orderclose |
yes |
no |
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 |
False |
False |
True |
Is Regular Activity |
orderclose |
yes |
no |
isworkflowcreated |
Information that specifies if the order close activity was created from a workflow rule. |
Boolean |
IsWorkflowCreated |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Is Workflow Created |
orderclose |
yes |
no |
modifiedby |
Unique identifier of the user who last modified the order close activity. |
Lookup |
ModifiedBy |
False |
False |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Modified By |
orderclose |
yes |
no |
modifiedon |
Date and time when the order close activity was last modified. |
DateTime |
ModifiedOn |
False |
False |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Modified On |
orderclose |
yes |
no |
modifiedonbehalfby |
Unique identifier of the delegate user who last modified the orderclose. |
Lookup |
ModifiedOnBehalfBy |
False |
True |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
True |
Modified By (Delegate) |
orderclose |
yes |
no |
ordernumber |
Order number. |
String |
OrderNumber |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Order Number |
orderclose |
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 |
orderclose |
yes |
no |
ownerid |
Unique identifier of the user or team who owns the order close activity. |
Owner |
OwnerId |
False |
True |
SystemRequired |
True |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Owner |
orderclose |
yes |
no |
owningbusinessunit |
Unique identifier of the business unit that owns the order close activity. |
Lookup |
OwningBusinessUnit |
False |
True |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
Owning Business Unit |
orderclose |
yes |
no |
owningteam |
Unique identifier of the team who owns the order close activity. |
Lookup |
OwningTeam |
False |
True |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
Owning Team |
orderclose |
yes |
no |
owninguser |
Unique identifier of the user who owns the order close activity. |
Lookup |
OwningUser |
False |
True |
None |
False |
True |
False |
False |
False |
False |
False |
True |
False |
False |
False |
False |
False |
Owning User |
orderclose |
yes |
no |
revision |
Order revision number. |
Integer |
Revision |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
False |
Revision |
orderclose |
yes |
no |
salesorderid |
Unique identifier of the order with which the order close activity is associated. |
Lookup |
SalesOrderId |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Order |
orderclose |
yes |
no |
scheduleddurationminutes |
Scheduled duration of the order close activity, specified in minutes. |
Integer |
ScheduledDurationMinutes |
False |
True |
None |
False |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Scheduled Duration |
orderclose |
yes |
no |
scheduledend |
Scheduled end time of the order close activity. |
DateTime |
ScheduledEnd |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Scheduled End |
orderclose |
yes |
no |
scheduledstart |
Scheduled start time of the order close activity. |
DateTime |
ScheduledStart |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Scheduled Start |
orderclose |
yes |
no |
serviceid |
Unique identifier of the service with which the order close activity is associated. |
Lookup |
ServiceId |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
False |
Service |
orderclose |
yes |
no |
statecode |
Status of the order close activity. |
State |
StateCode |
False |
True |
SystemRequired |
False |
True |
False |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Status |
orderclose |
yes |
no |
statuscode |
Reason for the status of the order close activity. |
Status |
StatusCode |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
False |
Status Reason |
orderclose |
yes |
no |
subcategory |
Subcategory of the order close activity. |
String |
Subcategory |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
False |
False |
False |
True |
Sub-Category |
orderclose |
yes |
no |
subject |
Subject associated with the order close activity. |
String |
Subject |
False |
True |
None |
True |
True |
True |
False |
False |
False |
True |
True |
False |
True |
False |
False |
True |
Subject |
orderclose |
yes |
no |
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 |
orderclose |
yes |
no |
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 |
orderclose |
yes |
no |
versionnumber |
Version number of the order close activity. |
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 order close activity entity.
Relationship schema name | Referencing Entity |
---|---|
orderclose_activity_parties |
activityparty |
OrderClose_Annotation |
annotation |
OrderClose_AsyncOperations |
asyncoperation |
OrderClose_BulkDeleteFailures |
bulkdeletefailure |
userentityinstancedata_orderclose |
userentityinstancedata |
Many-to-Many Relationships
There are no many-to-many relationships for the order 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 order close activity entity.
Relationship schema name | Referenced Entity |
---|---|
activity_pointer_order_close |
activitypointer |
business_unit_order_close_activities |
businessunit |
SalesOrder_OrderClose |
salesorder |
service_orderclose |
service |
lk_orderclose_modifiedonbehalfby |
systemuser |
lk_orderclose_createdby |
systemuser |
lk_orderclose_createdonbehalfby |
systemuser |
user_orderclose |
systemuser |
lk_orderclose_modifiedby |
systemuser |
team_orderclose |
team |
See Also
Reference
EntityMetadata
AttributeMetadata
OneToManyRelationshipMetadata
ManyToManyRelationshipMetadata
Concepts
OrderClose Activity Entity Messages and Methods
OrderClose Activity Entity OptionSet Attribute Metadata
OrderClose Entity Privileges
Microsoft Dynamics CRM 2011
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.