You need to sign in to do that
Don't have an account?

How do we query the UserTerritory associated accounts?
Hi,
We have territories enabled. I want to query the Userterritory associated accounts. how do we get this. For example if we have ut1,ut2 and ut3. If user is changed from ut2 to ut1 i want all the accounts under ut1,ut2 and ut3.
Thanks
We have territories enabled. I want to query the Userterritory associated accounts. how do we get this. For example if we have ut1,ut2 and ut3. If user is changed from ut2 to ut1 i want all the accounts under ut1,ut2 and ut3.
Thanks
Sorry for this issue you are encountering.
May I suggest you please check below link from the stack exchange community with a similar discussion which might help you further.
- https://salesforce.stackexchange.com/questions/13711/how-get-i-get-user-userterritory-join
Please let us know if this helps.Kindly mark this as solved if the reply was helpful.
Thanks,
Nagendra
Thanks for your reply.The link you provided does not resolved my issue. You provided getting user and it's territory information but, I need userterritory and it's associated accounts.
Thanks,
Mohan S