Hi Everyone. I'm scripting a connector with anothe...
# general
c
Hi Everyone. I'm scripting a connector with another application, and did so pretty successfully with SS 1.0 API. Unfortunately as I try to move it to 2.0 I'm running into a problem/limitation: In 1.0 I did this - needed to do it this way because my type is "savedsearch" and it has to be passed for the API to recognize it. nlapiLoadSearch(recordtype, id) In 2.0, this doesn't seem to be an option with the below, and I can't find a way to pass the record type, but keep getting UNABLE_TO_DETERMINE_RECORD_TYPE_FOR_SAVED_SEARCH_ID_1 var mySearch = search.load({ id: '<idstring>' }); Thanks,
b
search.load lists the parameters for that method
it also lists some of the standalone search types which require you to specify that parameter
c
life saver. thank you very much. been scouring and couldn't find that page or any other page that said type was a valid parameter for that method. worked like a charm. have a good day