Hey all, encountering a weird bug. I'm trying to ...
# suiteanalytics
j
Hey all, encountering a weird bug. I'm trying to load a search using SuiteScript 2.0. The search has internalid 2 and id
customsearch2
. It's public, of type Transaction. I can see it in the UI as normal, and it works in the Chrome 'Export as Script' tool. However, we I try to load it using
var s = search.load({id: 'customsearch2'});
I get an error
"Unable to determine record type for saved search id -4139"
Now, if I go to
/app/common/search/search.nl?cu=T&e=T&id=-4139
in the UI, it shows a different search with the same id
customsearch2'
. It's a 'Custom Device ID Search' (no idea what that is). What the heck is going on here? How do I load the "real"
customsearch2
? How did we end up with two with the same id, one of which has a negative internalid?