Query Territories Assigned to Account or Lead in Salesforce
Introduction Sometimes it may beed needed to query Territories assigned to Lead or Account. Solution Field Name Details AssociationCause Possible values are:Territory2AssignmentRule—Territory assignment rule associationTerritory2Manual—Manual association ObjectId Lookup Refers ToAccount or Lead SobjectType Account or Lead Territory2Id Territory Id