Method to get stock availability.
Namespace:
SolarWebService
Assembly:
SolarWebService (in SolarWebService.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
JavaScript |
---|
function StockAvailability(authentication, articleNumbers); |
Return Value
StockInformationResult, which is a list of StockInformation
Remarks
Examples
CopyVB.NET
Dim articles(2) As SolarWebService.ArticleNumber
articles(0) = New SolarWebService.ArticleNumber With {.Value = "3370020"}
articles(1) = New SolarWebService.ArticleNumber With {.Value = "1092908"}
articles(2) = New SolarWebService.ArticleNumber With {.Value = "1092949"}
Dim ReturnData As SolarWebService.ArticleInformationResult
Dim Auth As New SolarWebService.AuthenticationObject()
Auth.Initials = txtInitials.Text
Auth.Password = txtPassword.Text
ReturnData = My.WebServices.SolarWebService.ArticleInformation(Auth, ArticleNumberList2.getArticleNumbers(), True)
Dim errormsg As String = Nothing
If Not returnData.ErrorResult Is Nothing Then
errormsg = returnData.ErrorResult.ErrorMessage
End If
See Also