Trying to save saved search extract into the file ...
# general
m
Trying to save saved search extract into the file cabinet via suitescript but saved file has IDs of the related records. For example, the customer name in the saved search is shown as customer ID in csv file. Exporting saved search via UI will have the correct data though, like customer name is shown as customer name in extracted csv. Is there a way to save file with values as shown in saved search instead of their IDs via suitescript?
b
alternatively use Result.getText instead of Result.getValue
1
m
Also FYI when you retrieve searches manually you can use Result.getText() instead of getValue to get the text value of the field that is displayed in UI
1
Lol bakkt you beat me every time 😅
b
its the copying of the url and header that lets people think they have a chance
😆 1
j
I'm interested to create a similar script->saved search to file cabinet. anyone know of a guide to doing this somewhere?