Q05 - Unit code (Unit Sales Report Generator variable)
From Catalyst
Syntax
Q05{V/P}
Description
If a unit from stock is assigned to this document this will give that unit's stock number; else it will contain spaces.
Parameters
- V/P
- A text parameter that can be omitted (it defaults to "V").
- V
- Returns the unit stock number.
- P
- Returns "Y" if the unit is the document's primary sale unit; or "N" if the unit is an extra sale unit.
Returns
A text value whose typical size is 8 characters.