This exit provides the ability to alter the Special Cause Tests that exist on cCharts and uCharts.
cCharts and uCharts
public void ucModifySpecialCauseTestsForControlChart(
SesameSession session,
SearchChartReport scr,
ArrayList<HashMap<String,String>> specialCauseTestAttribues,
FormParameters fp) throws Exception
With the following example, expect to see Test 3 being checked, read-only and with a default value of 2.
public void ucModifySpecialCauseTestsForControlChart(
SesameSession session,
SearchChartReport scr,
ArrayList<HashMap<String,String>> specialCauseTestAttribues,
FormParameters fp)
throws Exception{
specialCauseTestAttributes.get(2).put("CHECKED","Y");
specialCauseTestAttributes.get(2).put("READONLY","Y");
specialCauseTestAttributes.get(2).put("DEFAULT","2");
}