Your situation is kind of confusing, but if a func...
# suitescript
j
Your situation is kind of confusing, but if a function isn't exported from the module then you cannot directly invoke it from outside the module. Since netsuite doesn't seem to work well with named modules, you can
require(['path/to/your/module']), function(...));
Or if you want to configure the path like using an NAmdConfig json file
Copy code
var cfg = {
  paths: {
	  someLibrary: '/path/to/your/library'
  },
  context: {}
};
require.config(cfg)(['someLibrary'], function(library) { ... });