S41 - Barcode (Stock Control Report Generator variable)

From Catalyst
Revision as of 05:39, 12 April 2022 by ThrashBot (talk | contribs) (Updated from revision control)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.