<@U4TPAFXEC>, i have not. but someone posted this...
# suitescript
s
@jen, i have not. but someone posted this or something similar a while back, it works well enough for local testing:
Copy code
var record, curecModule, currentRecord, search, runtime, xml, format, email, http;
require(['N/record', 'N/currentRecord', 'N/search', 'N/runtime', 'N/xml', 'N/format', 'N/email','N/url', 'N/http'],
  function(r, c, s, u, x, f, e,ur,h) {
      record = r;
      email = e;
	    http = h;
      currentRecord = c.get();
      search = s;
      runtime = u;
      xml = x;
      format = f;
      curecModule = c;
	  url = ur;
      console.log("2.0 Modules Loaded!");
  });