Does anyone know how to use the setQuery() method in HPSM web services?
We are trying to update the "open" field on cm3t table by a web service call, but when trying to set it directly via setOpen() method, we get "Not Authorized." The extaccess looks like it is set up correctly for the "open" field. Since this is not working, we were thinking of trying to use the setQuery() method calling SQL syntax. An additional complexity is [Open] is a reserved word in SQL.
Any ideas or help on this would be greatly appreciated. Being the novice, I think I may simply be coding the setQuery() syntax incorrectly.
This how I have it currently coded:
setQuery("Update cm3tm1 set [Open]='f' where number='113'")
This however gives us a message that "No more records found."


Reply With Quote
Bookmarks