RE: Using Related Record Fields when Creating a Saved Search with SS2.0
Hello,
I am creating a Saved Search in SS2.0, and am confused on how to create a column from a related record. For example, if I am creating a Transaction type Saved Search, but want my results to show not just transaction fields, but fields from the related Item (like, Item:Name, in the NetSuite) how would I go about doing that? I can build such a search in NetSuite, but haven’t “scripted” one where this is needed yet.
I’ve been looking at something like
var myColumn = search.createColumn({
name: 'firstname',
join: 'salesrep'
});
but it doesn’t seem to be what I need. Thanks for any guidance!
I use the script exporter extension when creating searches for scripts.
Just create the script in the UI then edit the search and you can use the exporter extension to give you the search in SS2.0
Thanks! I had no idea about that extension. Just saved my afternoon!