I am trying to test "Using Scope" on a custom object, orders which has a MD relation to Account. I'm trying to filter a list view of Orders to show only by User's territory, like we have in Account list view option. I tried the following...
SELECT id, name FROM orders__c USING SCOPE MyTerritory
But it seems it's not the right way. Please guide me.