Sepasoft MES Module Suite
system.mes.spc.sample.setNote(sample, attributeName, note, username)
Set a note to the specified sample and attribute.
Syntax
system.mes.spc.sample.setNote(sample, attributeName, note, username)
- Parameters
Sample sample - The sample object to add the note to.
String attributeName - The attribute of the sample to associate the note to.
String note - The actual note.
String userName - The user name that is adding the note.
- Returns
Nothing
- Scope
All
Code Examples
Python |
sampleUUID = '8e117278-a7bc-454e-b3a7-0d5fe17e38ac' sample = system.mes.spc.sample.getSample(sampleUUID) userName = 'admin' attributeName = 'att1' note = 'issue with filler relay' system.mes.spc.sample.setNote(sample, attributeName, note, userName) |
Sepasoft MES Module Suite