I was wondering if anyone had experience doing fil...
# suitescript
d
I was wondering if anyone had experience doing filters on sublisted join columns?
b
Your question is weird. Sublists are for records. Joins are for searches.
What are you trying to ask
d
I am trying to get a search that provides fields from the preferred supplier for a inventory item
b
That should be on the preferred vendor join
d
yes... but how to actually execute this?
b
create an item search in the ui
add a column on the results
d
Copy code
var search = nsSearch.create({
				type: nsSearch.Type.INVENTORY_ITEM,
				filters: ["itemvendor.preferredvendor", <http://nsSearch.Operator.IS|nsSearch.Operator.IS>, "T"],
				columns: ["displayname","itemvendor.vendor_display"]
			});
b
joins are the ones on the bottom of the select (they have ..., in the name)
you can use the search you created in the script, or you can copy the columns
there is a chrome extension to make this particular flow easier