About this question
I am trying to store value in an object using:
in the controller I am doing this:
public Expense_Object__c VS {get;set;}
public PageReference saveAndReturn()
{
system.debug('Value is:'+VS.Total_Amount__c);
}
I am trying to fetch value here but neither data is getting inserted nor I am getting any value?