Operation Manual

Chapter 5 Project Setup
100
E.g.: Typically, you can build unique batch identifier like this:
<STATION_ID>"_"<BATCH_ID>"("<DATE_MDY>"
"<TIME_24>")"
Tip:
<LAST_VALUE> is the latest value of a particular index field.
You can extract some part of the variable specifying the offset
(position of the first character) and the length.
<variable>[p,n] extracts n characters at offset p.
<BC_Value>[1;4] extracts the leading four characters.
E.g.: BC_Value = 12345678 <BC_Value >[1;4] = 1234
Tip:
The offset can be less than zero which means “starting from the end”
<BC_Value >[-4;2] extracts two characters; 4 position before the
end
E.g.: BC_Value = 12345678 <BC_Value >[-4;2] = 56
Sometimes barcode contains many values delimited by a separator
You can extract a particular value specifying the index and the
separator.
<variable>[i;s] extracts the value at index i (ième value) for a given
separator s
E.g.. 12345678;NURSERY;AA1234
<BC_Value>[1;”;”] = 12345678
<BC_Value>[2;”;”] = NURSERY
<BC_Value>[3;”;”] = AA1234
The operator <OR> can be used to combine expressions; in that
case the first not empty expression will be kept.
E.g.: <BC_Value><OR><LAST_VALUE><OR>”unknown”