S41 - Barcode (Stock Control Report Generator variable)
From Catalyst
Syntax
S41{Barcode ID}
Description
Returns the barcode for this stock item that is set to be printed. If no barcodes are set to be printed then it will return the first barcode for the stock item.
Parameters
- Barcode ID
- A numeric parameter that can be omitted (it defaults to "0").
- The barcode to be printed.
- If 'zero' then it will return the barcode that is set to be 'Printed'. If none are set to be 'Printed' then it will return the first barcode for the stock item.
- If 'non-zero' then it will return the nth 'non-Printed' barcode for the stock item.
Returns
A text value whose typical size is 20 characters.