Created
July 19, 2017 08:57
-
-
Save sfdcfanboy/8f6498ed431bd0913c0bed8ab7d84947 to your computer and use it in GitHub Desktop.
Run in developer console anonymous code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<Account> accList = [SELECT id,type,customer_type__c FROM account WHERE type!=null LIMIT 200]; | |
for(account a:accList){ | |
a.customer_type__c = a.type; | |
} | |
update accList; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment