Quantcast
Channel: Sage 100
Viewing all articles
Browse latest Browse all 36993

Forum Post: There is no drop box information

$
0
0
I'm trying to check if the customer has memos but the result set comes back with an error message as "There is no drop box information". Part of the code snippet below: Dim Wrapper As New Wrapper(_ModuleCode, _LookupTask) Using oCMemo As New DispatchObject(Wrapper.pvx.InvokeMethod("NewObject", "AR_CustomerMemo_bus", Wrapper.oSS.GetObject())) Try Dim queryfilter As String = "CustomerNo$=" + Convert.ToChar(34) + CustomerNo + Convert.ToChar(34) Dim getResultSetParams() As Object = {"MemoCode$", "CustomerNo$", "MemoCode$", "CustomerNo$", queryfilter, "", ""} Dim resultString As String = "" resultString = oCMemo.InvokeMethodByRef("nGetResultSets", getResultSetParams) If resultString.ToString "1" Then System.Web.HttpContext.Current.Response.Write("Error Message: " & oCMemo.GetProperty("sLastErrorMsg")) End If --rest of the code

Viewing all articles
Browse latest Browse all 36993

Trending Articles