• Harshal&Tushar
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 2
    Replies

Hi,

 

I am new for salesforce i want to know how to insert the record in fields using controller .

 

I need to right getter and setter for all fields or is there any way to do in one time.

 

Any one have sample code please paste it here so that i can take some help from there.

 

 

ThaNKS:))))

  • April 19, 2012
  • Like
  • 0

I am getting this exception "You have uncommitted work pending - Please rollback or commit".

 

I did the following :

 

I set a save point ,do an update, Rollback then made a callout.

 

Savepoint sp  = Databse.savepoint();

Update record;

rollback(sp);

 

makeOutboundCall(X,X,X);

 

Please help.