IService..::..GetInventoryItemFromPartNo Method
Gets the inventory item from a part no.
Namespace:
JiwaFinancials.Jiwa.JiwaWebService.WCFAssembly: JiwaWebService (in JiwaWebService.exe)
Syntax
[OperationContractAttribute] [WebGetAttribute] Inventory GetInventoryItemFromPartNo( string PartNo )
<OperationContractAttribute> _ <WebGetAttribute> _ Function GetInventoryItemFromPartNo ( _ PartNo As String _ ) As Inventory
[OperationContractAttribute] [WebGetAttribute] Inventory^ GetInventoryItemFromPartNo( String^ PartNo )
Parameters
- PartNo
- Type: String
The part no.
Return Value
JiwaFinancials.Jiwa.JiwaInventory.XML.InventoryExamples
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 inventoryItem = jiwaService.GetInventoryItemFromPartNo("1170") jiwaService.Logoff() jiwaService.Close()