ads

Wednesday, 27 July 2016

Insert a New Record Using Developer Console




Account Record Insert :-



1
2
3
4
5
   Account acc = new Account();
           acc.name = 'india';
           acc.website = 'www.sfdcforyou.com';

    Insert acc;



Contact Record Insert :-



1
2
3
4
5
 Contact con = new contact();
         con.Lastname='Sfdcforyou';
         con.Department='Sfdcforyou';
        
 Insert con;


No comments:

Post a Comment