Q05 - Unit code (Unit Sales Report Generator variable)

From Catalyst
Jump to: navigation, search

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.

Feedback
Thank you for using our Knowledge Base, we value your feedback. Did you find this article useful? 'Yes' or 'No'
Keywords AND Misspellings
vehicle, unit, wholegood, caravan, agricultural machine, tractor, trailer, car, suv, motorcycle, motorbike, truck, van, lorry, motorhome, quad, atv, boat, tricycle, quadricycle, bicycle, bike, plant