is any experiencing saved search result in UI is d...
# suitescript
l
is any experiencing saved search result in UI is different than script code? I’ve create a saved search in UI and load this search in script code, result is different :s
b
probably want to share how they are different and the filters/columns involved
l
They are same saved search, I create saved search in UI, than
search.load({id: savedSeachId}).runPaged().count
is different than UI
b
i have received 1/2 pieces of information requested, they are different in result count
l
Sorry, let me rephrase my question. here is what I’m experiencing: 1. Create saved search in UI -> Count: 4 2.
search.load({id: savedSeachId}).runPaged().count
Only got: 3 Is there any steps I missed to get consistency result?
b
without knowing filters/columns, my guess is permissions
l
filter and column is pretty straight forward
message has been deleted
message has been deleted
just trying to get items in Work Order and Transfer Order in on search
For permission, saved search is set to Public and script is run as Admin
b
looks normal to me, though i would not really describe the search as straightforward
try removing filters/columns until your data matches
n
Instead of loading, try creating the same search in the script using search.create()