---
schema_version: "1"
id: 5bd0ca339a4c1ef6a7063fe389bb1a4418f001f04fb4d9118adf56e9a3ba2c52
title: EventPlanTerritory
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_eventplanterritory.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_eventplanterritory.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: a15831e7069ecc20915bae07fcb199a9726fc6ec8a360a8e89eaba74e11db525
description: Represents a junction between an event plan and the territory that the event plan is for. This object is available in API version 67.0 and later.
---
# EventPlanTerritory

Represents a junction between an event plan and the territory that the event plan is for. This object is available in API version 67.0 and later.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Fields

### CurrentEventCount

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The number of events that the territory has currently organised.

### CurrentTotalSpendAmount

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The amount that the territory has spent across across all events.

### EventPlanId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The event plan for the related territory.
    
    This field is a relationship field.
- **Relationship Name**: EventPlan
- **Relationship Type**: Master-detail
- **Refers To**: EventPlan (the master object)

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last viewed this record or list view.
    
    If this value is null, and LastReferenceDate isn’t null, the user accessed this record or list view indirectly.

### MaxEventLimit

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The maximum number of events the territory can organize.

### MaxSpendAmtLimit

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The maximum amount that can be spent by the territory across all events.

### MaxSpendAmtLimitPerEvent

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The maximum amount that can be spent by the territory for an event.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the event plan territory.

### TerritoryId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The territory that the event plan is for.
    
    This field is a relationship field.
- **Relationship Name**: Territory
- **Refers To**: Territory2

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

EventPlanTerritoryChangeEvent

Change events are available for the object.

EventPlanTerritoryFeed

Feed tracking is available for the object.

EventPlanTerritoryHistory

History is available for tracked fields of the object.