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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
How to pass variables to SuiteQL Suitelet
Hi There
I am using a modified version of a suitelet originally created by Timothy Dietrich.
The Suitelet is supposed to load as part of a tab on a Netsuite record in a beforeLoad user event.
I want to pass parameters to the SuiteQL search criteria (the SQL part) from the page.
From the screenshot, line 124 works correctly to extract the record's internal id.
I am trying to pass the id to the function starting on line 148 though can't find the correct syntax online on how to do that.
I have found that 'hard coding' the value like line 153 works.
Tagged:
0