UserTerritory2AssocLog

Represents a log of when a user is assigned and unassigned from a territory. This object is available in API version 57.0 and later.

Supported Calls

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

Special Access Rules

To see this object, enable Sales Territory and User Tracking on the Territory Settings page. Activate a territory model to start the tracking.

Fields

Field Details
CurrencyIsoCode
Type
picklist
Properties
Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
ISO code of currency.
Possible values are:
  • EUR—Euro
  • INR—Indian Rupee
  • USD—U.S. Dollar
The default value is USD.
EndDate
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.
Name
Type
string
Properties
Filter, Group, idLookup, Sort, Update
Description
Auto-generated unique name of the log.
RoleInTerritory2
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.
StartDate
Type
dateTime
Properties
Filter, Sort
Description
Date the user is assigned to the territory.
Territory2Id
Type
reference
Properties
Filter, Group, Sort
Description
ID of the territory associated with the log.
This field is a relationship field.
Relationship Name
Territory2
Refers To
Territory2
Territory2ModelId
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
Refers To
Territory2Model
UserId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the user associated with the log.
This field is a relationship field.
Relationship Name
User
Refers To
User