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!
Select * from customers
So,
As we all know, Netsuite's search don't support SQL statements (a real shame). Instead, you need to create a bunch on variables, fields, etc to to execute a simple search.
For years, I've been building a library to remove this, and I just updated it for SS2.0 ... see it at npm at https://www.npmjs.com/package/@darrenhillconsulting/jsuite
I'm taking on an impossible dream now ... attempting to mimic the SELECT * in SQL
Essentially, when you request 'customer' (or any other record for that matter), I do the following [LIST=1]
[*]create a temp record of the request recordType
[*]use the getFields() function to get all possible fields