function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Robert Jeffress 7Robert Jeffress 7 

Account with Territories and Users

In Report Types we can setup Accounts with Territories with Users.  I cannot find the proper objects to do the same in SOQL.  I want the Account with its Territories and the Users in those Territories.  If Reports can do it there shouldn't there be a SOQL solution as well. Report Type
Suraj Tripathi 47Suraj Tripathi 47
Hi Robert Jeffress,

Greetings!

Please visit the referred URL, it might help you.
https://salesforce.stackexchange.com/questions/237222/enterprise-territory-management-using-apex-soql-get-all-accounts-in-userids-te

If you find your Solution then mark this as the best answer. 

Thank you!

Regards,
Suraj Tripathi