Hello - if you perform a saved search in suitescript - what determines the first result or result [0]? Is it the internal ID, the name, the date etc?
e
erictgrubaugh
01/17/2024, 5:15 PM
The sort order of the columns defines the order of the results
✅ 1
erictgrubaugh
01/17/2024, 5:15 PM
If you're loading a saved search and running that, you'll have to look at the sorting order on the saved search definition. If you're creating the search in code, but not specifying any sorting, I think the
internalid
is the default
c
Chiu
01/29/2024, 9:19 PM
Thanks @erictgrubaugh! Love your work, you're the reason I can code (on top of the hours of hard work and trying again and again)