N/runtime

View runtime settings for the script, the session, or the user.

Oracle reference

0 of 11 methods have Mynt syntax 0%

0 implemented0 in progress0 planned0 under consideration11 open for proposals

Module functions

  1. runtime.getCurrentScript() Returns a runtime.Script object that represents the currently executing script. Open for proposals ·
  2. runtime.getCurrentSession() Returns a runtime.Session object that represents the user session for the currently executing script. Open for proposals ·
  3. runtime.getCurrentUser() Returns a runtime.User object that represents the properties and preferences of the user currently executing the script. Open for proposals ·
  4. runtime.isFeatureInEffect(options) Indicates whether a particular feature is enabled in a NetSuite account. Open for proposals ·
  5. runtime.isNextActive() Returns whether NetSuite Next is active for the user running the script. Open for proposals ·

Script object

  1. Script.getParameter(options) Returns the value of a script parameter for the currently executing script. Open for proposals ·
  2. Script.getRemainingUsage() Returns the number of units remaining (per governance limitations) for the currently executing script. Open for proposals ·

Session object

  1. Session.get(options) Returns the user-defined session object value associated with the session object key. Open for proposals ·
  2. Session.set(options) Sets a key and value for a user-defined session object. Open for proposals ·

User object

  1. User.getPermission(options) Returns a runtime.Permission user permission level for the specified permission. Open for proposals ·
  2. User.getPreference(options) Returns the value of a NetSuite preference. Open for proposals ·