Timeline for Can I set sobject id in a method?
Current License: CC BY-SA 3.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 31, 2014 at 9:17 | comment | added | Shebin Mathew | Yes me to conclude this documentation doen't seems clear | |
Mar 31, 2014 at 8:40 | history | edited | Keith C | CC BY-SA 3.0 |
added 156 characters in body
|
Mar 31, 2014 at 8:38 | comment | added | Keith C | @ShebinMathew The documentation perhaps isn't as clear as it could be; they mean it can be set in the constructor of the SObject (Account in your case). That constructor can be invoked anywhere in a class using the Account. | |
Mar 31, 2014 at 8:23 | comment | added | Shebin Mathew | Documentation says you can't set id no where apart from constuctor but I am able to set the id in a method which is my concern | |
Mar 31, 2014 at 8:18 | history | answered | Keith C | CC BY-SA 3.0 |