<@U4TPAFXEC> Somone from this channel once posted ...
# suitescript
a
@jen Somone from this channel once posted this (Don't remember who it was).
Copy code
var record, curecModule, currentRecord, search, runtime, xml, format, email;
require(['N/record', 'N/currentRecord', 'N/search', 'N/runtime', 'N/xml', 'N/format', 'N/email'],
  function(r, c, s, u, x, f, e) {
      record = r;
      email = e;
      currentRecord = c.get();
      search = s;
      runtime = u;
      xml = x;
      format = f;
      curecModule = c;
      console.log("2.0 Modules Loaded!");
  });
You can add whatever modules you need. I keep it as a code snippet using phrase express and set a keyboard shortcut. Using this code snippet doesn't require 2 separate entries into the console.