IService..::..GetInventoryItemStockLevelsByBinLocation Method
Get the bin locations and quantities of stock for a given inventory item in the current warehouse, ordered by the item No.
Namespace:
JiwaFinancials.Jiwa.JiwaWebService.WCFAssembly: JiwaWebService (in JiwaWebService.exe)
Syntax
[OperationContractAttribute] [WebGetAttribute] List<BinLocationStockLevel> GetInventoryItemStockLevelsByBinLocation( string InventoryID )
<OperationContractAttribute> _ <WebGetAttribute> _ Function GetInventoryItemStockLevelsByBinLocation ( _ InventoryID As String _ ) As List(Of BinLocationStockLevel)
[OperationContractAttribute] [WebGetAttribute] List<BinLocationStockLevel^>^ GetInventoryItemStockLevelsByBinLocation( String^ InventoryID )
Parameters
- InventoryID
- Type: String
Return Value
System.Collections.Generic.List(Of JiwaWarehouses.XML.BinLocationStockLevel).Examples
VB.NET
Dim binding As System.ServiceModel.WSHttpBinding = New System.ServiceModel.WSHttpBinding() binding.MaxReceivedMessageSize = 50000000 binding.ReaderQuotas.MaxArrayLength = 50000000 binding.ReaderQuotas.MaxStringContentLength = 50000000 Dim jiwaService As JiwaWebServiceReference.ServiceClient = New JiwaWebServiceReference.ServiceClient(binding, New ServiceModel.EndpointAddress("http://localhost:8001/jiwa7/services/7.0")) jiwaService.Logon("Admin", "password") Dim binLocationStockLevels As List(Of JiwaWebServiceReference.BinLocationStockLevel) = jiwaService.GetInventoryItemStockLevelsByBinLocation("000000000K00000000BQ") For Each binLocationStockLevel As JiwaWebServiceReference.BinLocationStockLevel In binLocationStockLevels Console.WriteLine(binLocationStockLevel.) Next jiwaService.Logoff() jiwaService.Close()