Difference between revisions of "Q05 - Unit code (Unit Sales Report Generator variable)"
From Catalyst
(Updated from revision control) |
(Updated from revision control) |
||
Line 17: | Line 17: | ||
A text value whose typical size is 8 characters. | A text value whose typical size is 8 characters. | ||
+ | {{KB_Tags|vehicle, unit, wholegood, caravan, agricultural machine, tractor, trailer, car, suv, motorcycle, motorbike, truck, van, lorry, motorhome, quad, atv, boat, tricycle, quadricycle, bicycle, bike, plant}} | ||
[[Category:Unit Sales Report Generator variables]] | [[Category:Unit Sales Report Generator variables]] |
Latest revision as of 06:45, 12 December 2018
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.