IService..::..GetAllChangedSalesOrders Method
Gets all changed sales orders changed since the provided date.
Namespace:
JiwaFinancials.Jiwa.JiwaWebService.WCFAssembly: JiwaWebService (in JiwaWebService.exe)
Syntax
[OperationContractAttribute] [WebGetAttribute] List<SalesOrder> GetAllChangedSalesOrders( DateTime StartDate )
<OperationContractAttribute> _ <WebGetAttribute> _ Function GetAllChangedSalesOrders ( _ StartDate As DateTime _ ) As List(Of SalesOrder)
[OperationContractAttribute] [WebGetAttribute] List<SalesOrder^>^ GetAllChangedSalesOrders( DateTime^ StartDate )
Parameters
- StartDate
- Type: DateTime
Any sales orders changed at or after this date will be returned.
Return Value
System.Collections.Generic.List(Of JiwaFinancials.Jiwa.JiwaSales.SalesOrder.XML.SalesOrder)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 salesOrders As List(Of JiwaWebServiceReference.SalesOrder) = jiwaService.GetAllChangedSalesOrders("2014-01-29") For Each salesOrder As JiwaWebServiceReference.SalesOrder In salesOrders Console.WriteLine(salesOrder.InvoiceNo) Next jiwaService.Logoff() jiwaService.Close()