Sepasoft MES Module Suite
system.mes.spc.sample.getCreateByDefUUID(sampleUUID, defUUID, locationPath)
Return a sample that matches the sampleUUID parameter. If not found, create and return a new sample based on the sample definition that matches the definitionUUID parameter.
The newly created sample is initialized for the location specified by the locationPath parameter.
Syntax
system.mes.spc.sample.getCreateByDefUUID(sampleUUID, defUUID, locationPath)
- Parameters
String sampleUUID - Sample UUID to lookup.
String defUUID - Existing sample definition UUID to base the new sample on.
String locationPath - A valid equipment path to a location.
- Returns
Sample Object - A reference to the existing sample or the newly created sample.
- Scope
All
Sepasoft MES Module Suite