Configure a syntax to generate sample names
-
Create a syntax in the CCSNTX—Syntax application.
-
Enter the following fields:
Organisation Scope
Syntax Code: SAMPLE_NAME_SYNTAX
Syntax Type: Sample
Is Active: Checked
-
Enter syntax details, for example:
Syntax:
${String JobNo=Job.name.asEllipseValue
LastJobSampleSequence++
String seq="000"+LastJobSampleSequence
seq = seq.substring(seq.length()-3,seq.length())
return JobNo+"."+seq
}
Outer Seq Floor: 1
Outer Seq Ceiling: 9999999999
Outer Seq Increment: 1
-
Click Submit.
