alternatively, you can append anything you want to the name property, for example:
formulatext_lens_material
mindblow 2
✔️ 1
e
ericbirdsall
11/02/2020, 5:20 PM
learned something today
m
Mike Robbins
11/02/2020, 6:00 PM
TIL. So many things this would have helped with. 🙂
t
t_gdb
11/03/2020, 9:31 AM
great thanks a lot for the tip.
t_gdb
11/03/2020, 9:36 AM
But i forgot to mention that the search is load from netsuite and not created in suitescript. So i can not change the "name".
s
scottvonduhn
11/03/2020, 2:01 PM
In that case (when loading a search with multiple formulas of the same type defined in the UI), then I believe the only option is to use the numerical index as you are already doing. I usually make a good argument for defining searches like this in code, for that very reason. It will be easier to maintain and more reliable. If someone adds a new result column in the middle, it will change the numbering and break the script.
t
t_gdb
11/04/2020, 8:58 AM
hello thanks. but i'm sure there is a way to do it with the label. i'll try to investigate more.