<@U2ASTKU79>, yeah. that's exactly what i'm trying...
# suitescript
j
@mattdahse, yeah. that's exactly what i'm trying to do. Basically, i'm trying to produce a list of items with their corresponding commerce categories
m
What you're trying to do is easier than you probably think it is. You will want to use Form.createSublist(), then on the sublist use the .addField() method of the sublist to add columns, then iterate over your search results and do a .setSublistValue() for each column and each line.
j
OK, cool. Thanks for the advice, Matt. I'll have a look into this method and see how it goes