function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
public class AccountHandler { public static Account insertNewAccount(String AccountName){ Account acct = new Account(Name=AccountName); try { insert acct; } catch (DMLException e){ return null; } return acct; } }
Below is the code which worked for me.
Please mark it as solved if my reply was helpful. It will make it available for other as the proper solution.
Best Regards
Sandhya