Skip to content

Instantly share code, notes, and snippets.

@kbs5280
Created March 21, 2019 15:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbs5280/586824b2fab57ec2a8d317fd4abd8568 to your computer and use it in GitHub Desktop.
Save kbs5280/586824b2fab57ec2a8d317fd4abd8568 to your computer and use it in GitHub Desktop.
Zip_Demographic__c[] leadQueryResnew = Database.query('SELECT Routing_Option__c FROM Zip_Demographic__c LIMIT 1');
System.debug('Routing_Option__c: ' + leadQueryResnew[0].Routing_Option__c);
for(Zip_Demographic__c zip : leadQueryResnew) {
String routingOption = zip.Routing_Option__c;
System.debug('Routing_Option__c: ' + routingOption);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment