How to Calculate Sum of Amount and Pass Date Value in Url

if( Apexpages.currentPage().getParameters().get('date') != null && Apexpages.currentPage().getParameters().get('date') != '' ) { string strDate= Apexpages.currentPage().getParameters().get('date'); string[] arrDate = strDate.split('-'); if( arrDate.size() > 2 ) objProject.start_Date__c=date.newInstance( integer.valueof( arrDate[0] ), integer.valueof( arrDate[1] ), integer.valueof( arrDate[2] ) ); }




Calculate some of Amount // Declare Variable
{!TEXT(ROUND(Total_due,0))}
Total
{!TEXT(ROUND(GrandTotal,0))}

Comments

Popular posts from this blog

Salesforce Spring 16 Release Exam (Maintenance Exam Q&A) for Developer 201 Admin

Show the Success Message before Redirecting the Detail page on Visualforce Page

Show Hyper Link On Add Error in Salesforce Trigger