+ Start a Discussion

inserting records in account object using apex class

I need to insert a new record usimg apex class ,I wrote the following code ,,but i couldnt remove the errors.Can you please help me ??User-added image
Bhawana Mehta SFDCBhawana Mehta SFDC
your method singature doesnt seems right.
It should be void insertNewAccount(String name).