You need to sign in to do that
Don't have an account?
test batch
Save button is not navigating ..?
public pagereference dosave(){ try { upsert objInvoices; } catch (DMLException dmlExcp) { ApexPages.addMessages(dmlExcp); } // PageReference redirectSuccess = new ApexPages.StandardController('/'+objInvoices.id).view(); // return (redirectSuccess); pageReference pr2=new pagereference('/'+objInvoices.id).setredirect(true); return pr2; }
All Answers