Hi There
Am trying to call our custom dll through the plugin in v7.2.1 but getting the attached error, pls see the code snippet below that am using, FYI, have kept the custom dll in the Jiwa Financials folder and its referenced in the plugin.
Try
PickSlip = CreateObject("AtronicsEDIClassLibrary.PickSlip")
With PickSlip
.JiwaConnectionString = CStr(salesOrderForm.SalesOrder.Manager.Database.ConnectionString)
.DatabaseName = salesOrderForm.SalesOrder.Manager.Database.DatabaseName
.UserName = salesOrderForm.SalesOrder.Manager.Database.JiwaLoginUserName
.Initialize
.SendPS
If .Message <> "" Then
MsgBox("Error creating warehouse pick slip: " & .Message)
End If
End With
PickSlip = Nothing
salesOrderForm.Refresh ()
Catch ex As Exception
MsgBox(ex.Message+ex.StackTrace )
End Try