S88 - Qty of Last Sale/Purchase (Stock Control Report Generator variable)

From Catalyst
Jump to: navigation, search

Syntax

S88{S/P, A/C/D, depot}

Description

The quantity 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
From last sale.
P
From last purchase.
A/C/D
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)
D
Supplied depot (last sale/purchase from the supplied depot)
depot
A text parameter that can be omitted.
Last sale/purchase for a specific depot.
depot
Filter by 'depot'.

Returns

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