Discussions
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!
NSC | How to pull a data using SuiteQL in Browser Console?
SuiteQL is a query language based on the SQL-92 revision of the SQL database query language. It provides advanced query capabilities you can use to access your NetSuite records and data.
If you want to pull a data using SuiteQL without deploying a SuiteScript record, you can use the Browser console.
Scenario
1. Pulling the “title” of the specific Task record. (See Screenshot)
2. Navigate to any Scriptable page, in Edit Mode, click F12 on keyboard > Console
- Paste the below sample code
require(['N/query'], function (query) { var csFileIdQuery = "select title from task where id='1076'"; // 1076 is internal ID of Task record var results = query.runSuiteQL(csFileIdQuery).asMappedResults(); console.log(results)});
Richard James Uri - SuiteCloud | WMS Tech | SuiteCommerce Advanced
----
- New to NetSuite
- Explore the NSC Webinars Category
- Join our poll and share your ideas! We want to know what you think. Don't forget to comment and make your voice heard!
- Expand your NetSuite knowledge by joining this month's Ask A Guru Live about Basic Accounting. RSVP on this event now!