S09 - Supplier Stock Code (Stock Control Report Generator variable)

From Catalyst
Jump to: navigation, search

Syntax

S09{supplier, P}

Description

The supplier stock code of the current stock line.

Parameters

supplier
A text parameter that can be omitted.
Supplier Code. If omitted, the current supplier being reported will be assumed.
P
A text parameter that can be omitted.
P
If 'P' is given here then the Supplier Code specified is ignored. Instead, the preferred supplier of the stock code is used. This will be the supplier with the highest Priority setting, and the one with the lowest standard cost if more than one have the same priority.

Returns

A text value whose typical size is 15 characters.