Hello guys, when querying a saved search using the...
# suitescript
a
Hello guys, when querying a saved search using the
N/Search
module and I cannot predict the column types returned as the following documentation has no enum or documentation for the
type
field returned (full path :
pagedData.searchDefinition.columns[0].type
). Can someone refer me to a documentation to the list or enum of possible column types returned by the
N/Search
module?
b
type isnt actually a documented property for search columns
but the toJSON method of the column leaks that information in the object it returns
be careful about building serious solutions on top of that
undocumented things are the things that netsuite can remove at will
a
I see. Thanks a lot @battk 🙏