by Mike.Sheen » Sun Nov 13, 2016 12:04 pm
Hi Danny,
Use the Created event from sales orders instead. We had issues making all the different possible ways of creating a sales order (from quote, as a credit note, job invoice, et cetera) behave consistently with the form so we introduced a new event - Created - to deal with that. That event will always be raised - and you get more information back as to how it was created - example handler would be:
- Code: Select all
Private Sub Created(sender As Object, e As System.EventArgs, ByVal NewSalesOrderType As JiwaSales.SalesOrder.SalesOrder.NewSalesOrderTypes, ByRef SourceQuoteObject As JiwaSales.SalesQuote.SalesQuote)
System.Windows.Forms.MessageBox.Show("Created")
End Sub
Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials
If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution