I have a data library that has a function that loa...
# suitescript
e
I have a data library that has a function that loads a saved search. v1.0 of that library specified the search type when it ran a search.load. I updated my data library to v2.0 which didn't need or require the search type and it worked well and worked fine until sometime later this week when one of the scripts errored out with a message that went like "Unable to determine record type for search xxxx". I referenced v1.0 of my data library just for that one script and now it's working again. All the other scripts use v2.0 and are still working. Anyone encountered an issue where search.load required the type parameter? I checked the Help and it only required the type parameter for stand-alone searches and it had a list of records where type was required and "pricing" record type was not one of those.
b
when the code disagrees with the documentation, the code wins
💯 1
code thinks its standalone so you have to specify the type
👍 1
e
I hear ya but it was working fine from the day the script was deployed and then all of a sudden it errored out.