join is also the second parameter of the `nlobjSea...
# suitescript
e
join is also the second parameter of the
nlobjSearchColumn
constructor in ss1.0:
new nlobjSearchColumn('quantitypicked', 'transaction')
j
erictgrubaugh: do I still need to include the transaction in the searchFilter?
my search filter looks like this
filters[0] = new nlobjSearchFilter( 'inventorylocation', null, 'anyof', location ); filters[1] = new nlobjSearchFilter('internalid', null, 'anyof', item); //filters[2] = new nlobjSearchFilter('item', 'inventorycount', 'anyof', item);
I'm confused. How come I can use 'transaction' with join but not ' inventorycount'?
e
inventorycount
is not a valid join
j
how to know if it is a valid join?
e
The Records Browser lists all valid search joins, filters, and columns for nearly every record type
there is an inventorycount though
I dont get it.
e
But you are not searching on the Inventory Count record
You have to look at the page for record type you are searching
j
I see. I think I was reading an old version of the records browser. Thanks for sharing!