Hello,
Can someone please give me the script that performs a saved search returning the list of items purchased by a given customer?
d
David B
05/31/2021, 11:52 PM
Recreate the search via the UI then go and download NetSuite: Search Export extension, which will show you the script version of the search
t
trauty
05/31/2021, 11:59 PM
Another option that could work is have a saved search and run that search by id with any additional filters in the script that are dynamic (eg customer). This is useful if you want users to be able to tweak the results display without needing you to do more coding.