IService..::..GetSalesOrder Method
Gets a sales order, given an InvoiceID
Namespace:
JiwaFinancials.Jiwa.JiwaWebService.WCFAssembly: JiwaWebService (in JiwaWebService.exe)
Syntax
[OperationContractAttribute] [WebGetAttribute] SalesOrder GetSalesOrder( string InvoiceID )
<OperationContractAttribute> _ <WebGetAttribute> _ Function GetSalesOrder ( _ InvoiceID As String _ ) As SalesOrder
[OperationContractAttribute] [WebGetAttribute] SalesOrder^ GetSalesOrder( String^ InvoiceID )
Parameters
- InvoiceID
- Type: String
The InvoiceID.
Return Value
JiwaFinancials.Jiwa.JiwaSales.SalesOrder.XML.SalesOrderExamples
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 salesOrder As JiwaWebServiceReference.SalesOrder = jiwaService.GetSalesOrder("000000000A0000000025") For Each line As JiwaWebServiceReference.Line In salesOrder.Lines Console.WriteLine(line.PartNo) Next jiwaService.Logoff() jiwaService.Close()