You need to sign in to do that
Don't have an account?
nikkey
javax.faces.FacesException: core.apexpages.exceptions.ApexPagesDeveloperException:
Can any help me out with the Error in visual force page :
Error as :
This is the Table (expected output):
Error as :
javax.faces.FacesException: core.apexpages.exceptions.ApexPagesDeveloperException: Map key BXRC-25E4000-F-04 not found in mapIn a table i would like to display the data for the previous and current year.
This is the Table (expected output):
ProductName Year Q1 Q2 Q3 Q4 Total BXRC-25e4000-F-04 2014 100 200 300 400 1000 2015 100 100 BXRC-25e4000-F-23 2014 200 200 400 2015 300 300 Subtotal ------------ 700 200 300 600 1800But i get the o/p as:
ProductName Year Q1 Q2 Q3 Q4 Total BXRC-25e4000-F-04 2014 500 200 300 400 1400 BXRC-25e4000-F-23 2014 200 200 400 Subtotal ------------ 700 200 300 600 1800When i use the condition,i get the previous year data
if ((monthText == 'Jan' || monthText == 'Feb' || monthText == 'Mar')&&(year==previousyear))But when i use the condition for the current year ,it does not works ,throws an error.
if ((monthText == 'Jan' || monthText == 'Feb' || monthText == 'Mar')&&(year==previousyear ||year==currentyear))or
if ((monthText == 'Jan' || monthText == 'Feb' || monthText == 'Mar')&&(year==currentyear))Any help very much appreciated
Shashank (Salesforce Developers)
Could you please let me know if you are still facing this issue? If so, please provide more details like exact replication steps and any other details.