S101 - Barcode Pack Quantity (Stock Control Report Generator variable)
From Catalyst
(Redirected from REF:strgvs101)
Syntax
S101{barcode-ID, Y/N, }
Description
Returns the pack quantity of a barcode for this stock item.
Parameters
- barcode-ID
- A numeric parameter that can be omitted (it defaults to "0").
- The barcode to be used to find the pack quantity.
- If 'zero' then it will use the barcode that is set to be 'Printed'.
- If 'non-zero' then it will use 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 pack quantity at a specific depot.
- N
- Return the barcode pack quantity.
- 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 numeric value whose typical size is 6 digits.