I have converted the following code from jiwa 6 to 7 but the address4 from Jiwa 7 gives me a blank when it should have a value
could you please check and give me a workaround ? I would rather not do a trip to the databasae using sql...
Jiwa 6
- Code: Select all
SalesOrderObject.DebtorAddress4
jiwa 7
- Code: Select all
Public Sub Setup(ByVal JiwaForm As JiwaApplication.IJiwaForm, ByVal Plugin As JiwaApplication.Plugin.Plugin) Implements JiwaApplication.IJiwaFormPlugin.Setup
If TypeOf JiwaForm Is JiwaSalesUI.SalesOrder.SalesOrderEntryForm Then
Dim SalesOrdForm As JiwaSalesUI.SalesOrder.SalesOrderEntryForm = DirectCast(JiwaForm, JiwaApplication.IJiwaForm)
AddHandler SalesOrdForm.SalesOrder.Created , AddressOf SalesOrderCreated
End If
End Sub
msgbox (" debtor adderss 4 = " & salesOrder.Debtor.Address4.ToString() ) '---- this gives a blnak but there is a value in the state field ( address 4 )


