IService..::..GetAllChangedDebtorTransactions Method

Gets all debtor transactions (for all debtors) changed since the provided date.

Namespace:  JiwaFinancials.Jiwa.JiwaWebService.WCF
Assembly:  JiwaWebService (in JiwaWebService.exe)

Syntax


[OperationContractAttribute]
[WebGetAttribute]
List<DebtorTransaction> GetAllChangedDebtorTransactions(
	DateTime StartDate
)
<OperationContractAttribute> _
<WebGetAttribute> _
Function GetAllChangedDebtorTransactions ( _
	StartDate As DateTime _
) As List(Of DebtorTransaction)
[OperationContractAttribute]
[WebGetAttribute]
List<DebtorTransaction^>^ GetAllChangedDebtorTransactions(
	DateTime^ StartDate
)

Parameters

StartDate
Type: DateTime
Any debtor transactions changed at or after this date will be returned.

Return Value

System.Collections.Generic.List(Of JiwaFinancials.Jiwa.Entities.Debtor.Transaction).

Examples


Gets the all the transactions changed since Jan 29 2014 and iterates through the results, outputting the InvRemitNo. field.
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 debtorTransactions As List(Of JiwaWebServiceReference.DebtorTransaction) = jiwaService.GetAllChangedDebtorTransactions("2014-01-29")

  For Each item As JiwaWebServiceReference.DebtorTransaction In debtorTransactions
      Console.WriteLine(item.InvRemitNo)
  Next

  jiwaService.Logoff()
  jiwaService.Close()