UserTerritory2AssocLog

Represents a log of when a user is assigned and unassigned from a territory.

Introduced in API version 57.0.

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update()

  • To see this object, enable Sales Territory and User Tracking on the Territory Settings page. Activate a territory model to start the tracking.
  • Type: datetime
  • Properties: Filter, Nillable, Sort
  • Description: Date when the user is unassigned from a territory. If the end date is empty, the user is still assigned.
  • Type: string
  • Properties: Filter, Group, idLookup, Sort, Update
  • Description: Auto-generated unique name of the log.
  • Type: picklist
  • Properties: Filter, Group, Nillable, Sort
  • Description: User’s role in the territory between the start and end date. The picklist is, by default, empty. Add values to this field using Object Manager.
  • Type: datetime
  • Properties: Filter, Sort
  • Description: Date the user is assigned to the territory.
  • Type: reference

  • Properties: Filter, Group, Sort

  • Description:

    ID of the territory associated with the log.

    This field is a relationship field.

  • Relationship name: Territory2

  • Relationship type: relationship

  • Refers to: Territory2

  • Type: reference

  • Properties: Filter, Group, Nillable, Sort

  • Description:

    ID of the territory model associated with the log.

    This field is a relationship field.

  • Relationship name: Territory2Model

  • Relationship type: relationship

  • Refers to: Territory2Model

  • Type: reference

  • Properties: Filter, Group, Sort

  • Description:

    ID of the user associated with the log.

    This field is a relationship field.

  • Relationship name: User

  • Relationship type: relationship

  • Refers to: User