I am working on a BOI integration project, and trying to make even the reads from Sage 100 via BOI rather than ODBC. If I set oData as object I can loop through all the records and test the updated value, but I would think that the PvxDispatch.nGetResultSets wold be more efficient since it allows for Filters. The trouble is, it is only giving me one record, not all of them. Code snippet, the purpose of which is to get only the recently updated records:
Dim oData As ProvideX.PvxDispatch
oData = oPVX.NewObject(""AP_Vendor_bus"", oSS)
sColumns = ""APDivisionNo$ + """"~"""" + VendorNo$ + """"~"""" + DateUpdated$ + """"~"""" + TimeUpdated$""
sFilter = ""DateUpdated$>="" + Chr(34) + dtLastCheck.ToString(""yyyyMMdd"") + Chr(34)
sKeys = ""KPRIMARY""
oData.nGetResultSets(sColumns, sKeys, sResult, sJunk, sFilter, ""0000000"", ""zzzzzzz"")
Dim sResults() As String = Split(Mid(sResult, 3, Len(sResult) - 3), Chr(138))
Changing the filter setting does change WHICH one vendor I get. Leaving the Begin and End key fields blank doesn't change anything
How do I get all the vendors that match the filter?