ActivityPlanTerritory

Represents the territory details associated with an activity plan. This object is available in API version 65.0 and later.

Supported Calls 

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

Fields 

ActivityPlanId 

  • Type: reference

  • Properties: Create, Filter, Group, Sort

  • Description: The activity plan associated with activity plan territory.

    This field is a relationship field.

  • Relationship Name: ActivityPlan

  • Relationship Type: Master-detail

  • Refers To: ActivityPlan (the master object)

LastReferencedDate 

  • Type: dateTime
  • Properties: Filter, Nillable, Sort
  • Description: 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: Timestamp when the current user last viewed the record or list view. If this value is null, and LastReferenceDate isn’t null, the user accessed this record or list view indirectly.

Name 

  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: The name of the activity plan territory.

TerritoryId 

  • Type: reference

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description: The territory associated with the activity plan.

    This field is a relationship field.

  • Relationship Name: Territory

  • Refers To: Territory2