system.mes.spc.sample.remove(sampleUUID)

Sepasoft MES Module Suite

system.mes.spc.sample.remove(sampleUUID)

Remove a single sample. A sample can be removed at any point in its life cycle. Meaning it can be removed after it has been scheduled but before measurements are recorded and after measurements have been recorded.

Permanent Removal

Error

This function should be used with caution because it permanently removes the data from the database.

Syntax

system.mes.spc.sample.remove(sampleUUID)

  • Parameters

String  sampleUUID - The UUID to an existing sample to remove.

  • Returns

Nothing

  • Scope

All

Code Example

Python
 system.quality.sample.remove(event.getSampleUUID())



Sepasoft MES Module Suite