S51 - Account Invoice Sales Price (Stock Control Report Generator variable)

From Catalyst
Jump to: navigation, search

Syntax

S51{qty}

Description

The unit sales price of the current stock line if invoiced to the account (" Sales Ledger" only) currently being reported on. This takes into account any account specific pricing and fixed prices that may be in place.

Parameters

qty
A numeric parameter that can be omitted.
The quantity to invoice may affect the price returned, e.g. if the account specific pricing is dependant on the FIFO cost price. The quantity to use may be specified. Note - even if a quantity is specified the price returned is still the unit price.
If omitted, gives the unit sales price if quantity invoiced were 1.

Returns

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