S91 - Unit Price of Last Sale/Purchase (Stock Control Report Generator variable)

From Catalyst
Revision as of 06:04, 7 April 2017 by ThrashBot (talk | contribs) (Updated from revision control)
Jump to: navigation, search

Syntax

S91{S/P, A/C}

Description

The unit price from when the current stock was last sold or purchased.

Parameters

S/P
A text parameter that can be omitted (it defaults to "S").
S
Price from last sale.
P
Price from last purchase.
A/C
A text parameter that can be omitted (it defaults to "A").
A
All depots (last sale/purchase from any depot)
C
Current depot (last sale/purchase from the current report depot)

Returns

A numeric value whose typical size is 8 digits plus 3 decimal places.