RE: Question about Loading Saved Searches with SuiteScript

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>’


Casey K Rookie Asked on October 26, 2020 in SuiteScript.
Add Comment
1 Answers
Advanced Answered on October 26, 2020.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.