S41 - Barcode (Stock Control Report Generator variable)

From Catalyst
Jump to: navigation, search

Syntax

S41{barcode-ID, Y/N, }

Description

Returns a barcode for this stock item.

Parameters

barcode-ID
A numeric parameter that can be omitted (it defaults to "0").
The barcode to be returned.
If 'zero' then it will return the barcode that is set to be 'Printed'.
If 'non-zero' then it will return the nth 'non-Printed' barcode for the stock item.
Y/N
A text parameter that can be omitted (it defaults to "N").
Y
Return the printed or unprinted barcode for a specific depot.
N
Return the default printed or unprinted barcode.
A text parameter that can be omitted.
If the previous parameter is set to 'Y', enter the depot here. If left blank, the current depot will be used.

Returns

A text value whose typical size is 20 characters.