Discussions
Referencing multiple formula fields in a nlapiCreateList addColumn
I have a suitelet being used to create a list. My search has 2 formulatext fields that I want to display in the list that is created.
list.addcolumn('formulatext','text','col1','LEFT');
list.addcolumn('formulatext','text','col2','LEFT');
I get the following error:
You have entered an invalid list column name. It must be unique and cannot contain any non-alphanumeric characters.
The list.addColumn() function only allows addColumn(name, type, label, align) for its syntax, I cannot use the searchColumn[0] in the name parameter.
how can I add 2 formulatext fields in a list?