dTechNotes
Saturday, September 20, 2014
Apex Code to insert a row into a Salesforce Object
Assuming that AWS Cost is an Object with two custom Fields (Cost and Date), here is the Apex code that inserts a new row:
AWS_Cost__c ml;
ml = new AWS_Cost__c(Cost__c=12, Date__c = '8 Sep' );
insert ml;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment