STOCK - Access stock details (Stock Control Report Generator function)

From Catalyst
Jump to: navigation, search

Syntax

$STOCK{S??}

Description

Retrieve the details of the main stock item.

Replace S?? with the S variable or formula you need and the function will give the answer when applied to the main stock item.

This function changes the context of S variables so that they apply to the main stock item. After using this function, the S variables will actually continue to apply to the main stock item until the end of the block, or until another context-changing function is used.


Parameters

S??
A text or numeric parameter that can not be omitted.
The S variable or formula whose result you want.

Returns

A text or numeric (depending on the parameters) value. The value of S?? when applied to the main stock item.

See also

$COMPONENT, $STS.