Title
#suitescript
al3xicon

al3xicon

01/05/2017, 2:21 PM
then pass that to your func call like:
var itemSearchObj = search.create({
	    		type: "item",
	    		filters: filters,
	    	  columns: [
	    	      search.createColumn({
	    	         name: "itemid",
	    	         summary: "GROUP"
	    	      }),
	    	      search.createColumn({
	    	         name: "internalid",
	    	         join: "transaction",
	    	         summary: "GROUP",
	    	         sort: search.Sort.ASC
	    	      }),
	    	      search.createColumn({
	    	         name: "tranid",
	    	         join: "transaction",
	    	         summary: "GROUP"
	    	      })
	    	   ]
	    	});