Purpose
This exit provides the ability to alter the Special Cause Tests that exist on cCharts and uCharts.
- Default values for the rules can be set upon report creation. It does not override existing values.
- Tests can be checked or unchecked
- Tests can be disabled.
Applies To
cCharts and uCharts
Signature
public void ucModifySpecialCauseTestsForControlChart(
SesameSession session,
SearchChartReport scr,
ArrayList<HashMap<String,String>> specialCauseTestAttribues,
FormParameters fp) throws Exception
Notes
With the following example, expect to see Test 3 being checked, read-only and with a default value of 2.
Example
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");
}