How can I get the value of savedsearch formula col...
# suitescript
v
How can I get the value of savedsearch formula columns in restlet? or is it even possible? There are two fields/columns of savedsearch that I see in restlet. there are coming as
formulatext_1 and formulatest_2
. However, I do not get the value with
result.getValue({name: "formulatext_1"})
. and I am assuming there is a special way to get them similar to join columns
getValue({name: "test", join: "hello"})
d
Use the entire column object (name, join,formula,sort, etc) or just use the column's index with something like
getValue(mysearch.columns[1])
v
@dcrsmith Thank you for your help. I was able to get the formula column with 2nd option you suggested.