Adding Chart Refresh Method
Add the following method to EquipWorkOrderDC.java. This method calls the retrieveData() method to execute a data service aggregation request that retrieves a fresh set of data from EnterpriseOne. This method is normally called when the user selects a different radio button to summarize by a different F4801 column.
public void refreshChartData(String chartType) { if (loginEnv != null) { logger.finest("***** Retrieving new chart data. *****"); retrieveData(chartType); } else { logger.severe("***** LoginEnvironment is null. Unable to retrieve new chart data. *****"); processErrorException("Connection failed. Please contact your system administrator"); } }