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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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