Hi! I am using a search with multiple formula colu...
# suitescript
g
Hi! I am using a search with multiple formula columns in a script, how do i pull the records? Or i have to knwo the indexes as to what belongs to what columns?
b
s
Basically, there are two ways to do this (and you can even do both of them): Define column variables, then use them in both your search columns, and in your Result.getValue calls as mentioned above . You can also append unique suffixes to your formula column names to distinguish them (especially needed if using them with a template or a Map/Reduce script), as shown in SuiteAnswer ID: 74736