Sepasoft MES Module Suite
system.mes.spc.sample.approve(sampleUUID, approvedBy)
Approve an existing sample. If the associated sample definition for the specified sample is not set for auto approval, it will have to be approved. This can be done using various methods of which this is one of them.
|
Scripting Function modifications in MES 3.79.3 RC 5 and later |
Syntax
system.mes.spc.sample.approve(sampleUUID, approvedBy)
- Parameters
String sampleUUID - The UUID to an existing sample to approve.
String approvedBy - The name of the person who is approving the sample.
- Returns
Nothing
- Scope
All
Code Examples
Python |
system.mes.spc.sample.approve(currentSample.getSampleUUID, system.security.getUsername()) |
Sepasoft MES Module Suite