Export (0) Print
Expand All

Territory Entity Metadata

[Applies to: Microsoft Dynamics CRM 2011]

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

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

 

Entity metadata property Value

OTC

2013

EntityLogicalName

territory

DisplayName

Territory

OwnershipType

OrganizationOwned

IsCustomizable

True

Description

Territory represents sales regions.

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

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

True

IsValidForAdvancedFind

True

IsValidForQueue

False

IsVisibleInMobile

False

PrimaryIdAttribute

territoryid

PrimaryNameAttribute

name

ReportViewName

FilteredTerritory

RecurrenceBaseEntityLogicalName

DisplayCollectionName

Territories

Privilege Metadata

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

 

PrivilegeName Id Type CanBeBasic CanBeDeep CanBeGlobal CanBeLocal

prvAppendTerritory

6b2c2c22-e876-4fee-b885-46dda9ab5234

Append

False

False

True

False

prvAppendToTerritory

b9bb73f7-c659-4c9d-944a-f2af1784d56a

AppendTo

False

False

True

False

prvCreateTerritory

00daf56c-9520-4777-98ff-db27e5dae5c4

Create

False

False

True

False

prvDeleteTerritory

5051ae4a-f1ea-412e-ace1-f72fa7247c87

Delete

False

False

True

False

prvReadTerritory

d2409739-f135-422e-966d-129351aa0ce7

Read

False

False

True

False

prvWriteTerritory

d0c30ffd-af29-427e-87ab-546c813e1d20

Write

False

False

True

False

Attribute Metadata

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

 

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

createdby

Unique identifier of the user who created the territory.

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

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

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

managerid

Unique identifier of the manager of the territory.

Lookup

ManagerId

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Manager

modifiedby

Unique identifier of the user who last modified the territory.

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

Lookup

ModifiedOnBehalfBy

False

True

None

False

True

False

False

False

False

False

True

False

False

True

False

True

Modified By (Delegate)

name

Name of the territory.

String

Name

False

True

SystemRequired

True

True

True

False

False

False

True

True

False

True

True

False

True

Territory Name

organizationid

Unique identifier of the organization associated with the territory.

Lookup

OrganizationId

False

False

SystemRequired

False

True

False

False

False

False

False

True

False

False

False

False

False

Organization

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

territoryid

Unique identifier of the territory.

Uniqueidentifier

TerritoryId

False

True

SystemRequired

True

True

False

False

False

False

False

True

True

False

True

False

True

Territory

transactioncurrencyid

Unique identifier of the currency associated with the territory.

Lookup

TransactionCurrencyId

False

True

None

True

True

True

False

False

False

True

True

False

False

True

False

True

Currency

versionnumber

Version number of the territory.

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

 

Relationship schema name Referencing entity

territory_accounts

account

Territory_AsyncOperations

asyncoperation

Territory_BulkDeleteFailures

bulkdeletefailure

Territory_DuplicateMatchingRecord

duplicaterecord

Territory_DuplicateBaseRecord

duplicaterecord

territory_principalobjectattributeaccess

principalobjectattributeaccess

Territory_ProcessSessions

processsession

territory_system_users

systemuser

userentityinstancedata_territory

userentityinstancedata

Many-to-Many Relationships

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

Many-to-One Relationships

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

 

Relationship schema name Referenced entity

organization_territories

organization

lk_territorybase_createdby

systemuser

system_user_territories

systemuser

lk_territory_modifiedonbehalfby

systemuser

lk_territorybase_modifiedby

systemuser

lk_territory_createdonbehalfby

systemuser

TransactionCurrency_Territory

transactioncurrency

See Also

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

Community Additions

Show:
© 2014 Microsoft