S91 - Unit Price of Last Sale/Purchase (Stock Control Report Generator variable)
From Catalyst
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.