UserTerritory2Association
Associates a user with a territory in Enterprise Territory Management.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier for the record. | |
| UserId | String | False |
User.Id |
ID of the User associated with this record. |
| Territory2Id | String | False |
Territory2.Id |
ID of the Territory2 associated with this record. |
| IsActive | Bool | True |
Indicates whether the record is active. | |
| RoleInTerritory2 | String | False |
Field containing RoleInTerritory2 information. | |
| LastModifiedById | String | True |
User.Id |
ID of the user who last modified the record. |
| SystemModstamp | Datetime | True |
Date and time when the record was last modified by a user or by an automated process. | |
| LastModifiedDate | Datetime | True |
Date and time when the record was last modified. |
Pseudocolumns
Pseudocolumn fields are used in the WHERE clause of SELECT statements and offer more granular control over the data returned from the data source.
| Name | Type | Description |
| SOQL | String |
Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. |
| ExternalIdColumn | String |
Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. |
| FilterScope | String |
Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. |