Hi There'
When I try to process the salesorder am getting the below error, the error triggers on the line SalesOrder.Process(), can you pls kindly advise on this
GenericArguments[0], 'JiwaFinancials.Jiwa.JiwaCashBook.CashBookTransaction', on 'JiwaFinancials.Jiwa.JiwaApplication.JiwaCollection`1[T]' violates the constraint of type parameter 'T'.
Code used is as below
Using JiwaCon As New SqlConnection(_Login.JiwaConnectionString)
Dim manager As New JiwaFinancials.Jiwa.JiwaApplication.Manager()
manager.Logon(JiwaCon.DataSource, JiwaCon.Database, JiwaFinancials.Jiwa.JiwaODBC.database.AuthenticationModes.JiwaAuthentication, _Login.UserName, _Login.Password)
SalesOrder = manager.BusinessLogicFactory.CreateBusinessLogic(Of JiwaSales.SalesOrder.SalesOrder)(Nothing)
SalesOrder.Read(_InvoiceID)
SalesOrder.Process()
End Using