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.