Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- List<territory> obj = database.query(soql1);
- system.debug('obj@@assign'+obj);
- Map<Id, territory> terrMap = new Map<Id,Territory>(); // [Select Id,Category_ID_abv__c,ParentTerritoryId,Name from Territory]); // where ID not in: excludeterrId
- for(territory objCS : obj)
- terrMap.put(objCS.ID, objCS);
- system.debug('terrmap@@assign'+terrmap);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement