Q05 - Unit code (Unit Sales Report Generator variable)

From Catalyst
Revision as of 10:17, 11 December 2018 by ThrashBot (talk | contribs) (Updated from revision control)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.