Venice
Artcl::GetStock
 
Gets the current stock of the Article.
 
DOUBLE GetStock (
    BSTR bsNumber
)
 
Parameters
bsNumber
[in] The number of the article of which you want to know the current stock or blank if you want to use the last known article number.
 
Return value
A DOUBLE containing the current stock of the article.
 
See Also
CreateArtcl
 
Samples
 
C++
 
// Get the current stock of the article with number = 'Art_001'
double lfCurStc = pArtcl->GetStock ("Art_001");

C#
 
// Get the current stock of the article with number = 'Art_001'
double lfCurStc = oArtcl.GetStock ("Art_001");

VBS
 
' Get the current stock of the article with number = 'Art_001'
Dim lfCurStc
lfCurStc = oArtcl.GetStock("Art_001")

VB.NET
 
' Get the current stock of the article with number = 'Art_001'
Dim lfCurStc As Double
lfCurStc = oArtcl.GetStock("Art_001")