Categories
Troubleshooting

14 How Do I Search All Script Logs in NetSuite?

This week I’m responding to a troubleshooting comment from Effective SuiteScript reader, Michael Moen. Michael’s comment on the ESS mailing list was this: I’ve seen references to being able to search through logs with SuiteScript. Being able to run global searches on logs would make my life a lot easier when it comes to troubleshooting. […]

Categories
Searches

7 Field Lookups in SuiteScript 2.0

NetSuite’s lookup feature allows users to very quickly retrieve body-level data for a particular record without having to load the entire record on a page. This feature is provided by the nlapiLookupField function in SuiteScript 1.0 and the N/search module’s lookupFields method in SuiteScript 2.0. N/search#lookupFields Assume we import the N/search module like so:

[…]

Categories
Records

6 Inline Editing in SuiteScript 2.0

NetSuite’s inline editing feature allows users to very quickly modify and update the data for a particular record without having to load the entire record on a page, edit the form, then save the record. NetSuite developers can also leverage inline editing via SuiteScript’s submitFields functionality. This feature is provided by the nlapiSubmitField function in […]

Categories
Troubleshooting

5 Logging in SuiteScript 2.0

Logging is an incredibly important tool in software development, and that’s no different in SuiteScript. We use logging to write messages to our Script’s Execution Log. These messages can help us track down errors, audit the execution path of the script, and trace through data values as the script progresses. In SuiteScript 1.0, we added […]