Discussions

Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Don't miss out on our Question of the Week! You only have until tomorrow, September 11, 2025, 2PM ET to comment your answers and earn rewards! Click here for more details.
Uncover the power of data with the Analytics Hub —your ultimate guide to mastering NetSuite Saved Searches and Reports. Simplify the complex and unlock your organization's true potential. Dive into the Analytics Hub now and soar to new heights!
NetSuite 2025.2 Release Notes - This document summarizes the changes to NetSuite between 2025.2 and the previous release.
To help you get the most out of your 2025.2 Release Preview account, review the topics outlined in the 2025.2 Release Preview Guide.
SuiteWorld October 6 - 9, 2025: Agenda Builder is live!

Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!

Check out this thread to learn more!

How to Search Using Current Sublist Line Value in a Suitelet?

edited Jan 30, 2023 8:28PM in SuiteCloud / Customization 7 comments

I have written several scripts in the past, but this is my first attempt at writing a Suitelet and need some help. What I am trying to do is add a Sublist button on the Sales Order that, when clicked, opens a Suitelet that displays a custom List with the results of a search based on the SO's customer and the currently selected item in the Item Sublist. Essentially, a pop-up window.

The documentation example "Sample Custom List Page" script (https://suiteanswers.custhelp.com/app/answers/detail/a_id/74606) is conceptually just what I am trying to do (we'll run with their example to keep it relevant) with the only change being to populate the rows based on the search results of the customer's purchase history for the item. I understand how to create the button in the beforeLoad event of the User Event script and define the Suitelet function. I understand how to use the List.clientScriptFileId in the Suitelet to define the Client script function, but how do I get the customer and the item from the currently selected line on the SO into the Client script

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 3 (Jul-Sep 2025)

This Week's Leaders

This Month's Leaders

All Time Leaders