Special codes
Voice pick codes
Voice pick codes can be constructed using the {VOICEPICKCODE} code. It takes two mandatory arguments: the GTIN, the lot number, as well as an optional date code and settings. By default, the code will generate text containing advanced formatting code to increase size of the large digits.
For the text to be formatted correctly, the text object must have the text formatting set to ADVANCED.
The optional fourth parameter can be set to S to only generate the two small digits, L to only generate the two large digits, or SL to generate all four digits, without advanced text formatting codes.
Examples
If the GTIN is 10850510002011, the lot code is 46587443HG234, and no date code is desired:
{VOICEPICKCODE;10850510002011;46587443HG234}
To include the date in the voice pick code, another argument is required, e.g. using the built-in date format YYMMDD:
{VOICEPICKCODE;10850510002011;46587443HG234;{TIME;@YYMMDD}}
To generate only the two small digits (63 in this case):
{VOICEPICKCODE;10850510002011;46587443HG234;;S}
The following example will result in the text "59":
{VOICEPICKCODE;10850510002011;46587443HG234;;L}
The three first arguments can be dynamic texts themselves, e.g. from a database table. Assuming that the table has a column GTIN, and and another column LOT, then the code will look like this:
{VOICEPICKCODE;{TABLE;GTIN};{TABLE;LOT};{TIME;@YYMMDD}}
Random number
Random numbers can be generated using the {RANDOM} code, which takes the minimum and maximum values as two arguments:
{RANDOM;100;999}