StockItem.stockLookup

Fills item with the registered values for stock_id, returning TRUE if stock_id was known.

class StockItem
static
bool
stockLookup
(
string stockId
,)

Parameters

stockId string

a stock item name

item StockItem

stock item to initialize with values

Return Value

Type: bool

TRUE if item was initialized