Created
May 10, 2015 06:53
-
-
Save cdcarter/9390c2c6f96b4448b8d7 to your computer and use it in GitHub Desktop.
System.ListException: Duplicate id in list: 001j000000HUMDNAA5
This file contains hidden or 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
Account acc = [Select Id from Account Where Id='001j000000HUMDN']; | |
Account acc2 = [Select Id from Account Where Id='001j000000HUMDN']; | |
acc.Type = 'Prospect'; | |
acc2.Type = 'Other'; | |
List<SObject> thelist = new List<Sobject>(); | |
thelist.add(acc); | |
thelist.add(acc2); | |
update thelist; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment