StockQuantity()
Adjusts the stock control physical stock quantity.
Syntax
StockQuantity(<nQuantity)) --> lSuccess
Arguments
<nQty> --> The quantity to adjust the current physical stock holding level by.
Returns
Returns TRUE if the adjustment was possible. FALSE is returned if the record could not be altered either because the record does not exist or is locked by another user or the record does not hold a physical quantity that can be adjusted.
Description
This function adjust the stock control physical stock level by the quantity specified and correctly updates CAPITAL's internal stock movement audit trail files. The database STOCK must be pointing to the record you wish to adjust before you call this function.
Stock
kit records do not hold physical quantities so cannot be adjusted by this function.
Example
Endif
____________________________
Related Topics: