Skip to end of metadata
Go to start of metadata

Overview

Purging of SPC data to bulk remove past samples is done through scripting.

Applies To and Version Info

This feature applies to SPC module and is available in version 1.8.1 and above.

Scripting


#Get a sample definition by name
definition = system.quality.definition.getSampleDefinition(<defintion Name>) 

#Get this sample definition UUID
defUUID = definition.getDefUUID() 

#Purge all data collected with this sample definition prior to the supplied date
system.quality.sample.data.purgeSampleData(<defUUID>, <priorDate>)

References

system.quality.definition.getSampleDefinition

system.quality.sample.data.purgeSampleData

Sample Definition

Keywords

bulk sample removal

    Created By   Sarah Joy Created Date  Oct 03, 2016 19:04 Last Modified By   Jesse Records Last Modifed Date   Aug 24, 2020 16:32


  • No labels