Set the CALCULATE_FROM_READINGS application preference
- Access the CCPREF—Preference application from the main menu or quick launch to display the CCPREF—Search Preference screen.
- Enter the Preference Name—AUTO_PAPERWORK_TEMPLATES
- Click Submit.
- Open the preference with the lowest level of scope to display the CCPREF—Preference Detail screen.
- If Is System is selected, then clear it and click Submit.
- Ensure that Setting Type is set to STRING.
- Enter the Setting Value—For example: AVG_READINGS
When the Readings Calculation grid flow option is selected from the readings grid in the lower panel in the CCWKOP—Open Workbook application, or the AVERAGE in-built Workbook command is executed from the right-click menu, and the Groovy code within the script contains the calculateReading function, then it is run to calculate a new reading from selected readings, the reading which then becomes the result of the sample scheme analyte.
- Set the Preference Type to PREFERENCE.
- Ensure Is Active is selected.
- Click Submit.
- If Is System was initially selected, then ensure it is reselected and click Submit.
