Monthly Archives: August 2017

Salesforce: Territory Field.

One doesn’t simply query for standard Salesforce Territory Field. One has to query [ select RelatedId, Related.Name from Group where Id IN (select UserOrGroupId from AccountShare where AccountId = :accId and RowCause IN (‘Territory Management’,’Territory’,’TerritoryManual’)) ].Related.Name Thanks to eyescream who … Continue reading

Posted in Territory Management, Uncategorized | Tagged , , , | Leave a comment