<@U8CT0V220> are you online? I seem to get an erro...
# suitescript
f
@jkabot are you online? I seem to get an error message with your dynamic module loading saying:
Module does not exist: /pay_bills_form_clientscript.js
j
according to requirejs https://requirejs.org/docs/api.html#modulenotes
Relative module names inside define(): For require("./relative/name") calls that can happen inside a define() function call, be sure to ask for "require" as a dependency, so that the relative name is resolved correctly:
Copy code
define(["require", "./relative/name"], function(require) {
    var mod = require("./relative/name");
});
try changing the first line of the wrapper script to this
Copy code
define(["require"], function(require) {
f
OMG you are amazing!!! That solved all my problems!!!
j
👍 😄
f
I will never understand why Netsuite has to make our life so hard... Why can I not just mark a object as (skip fucking dumb validation I know what I am doing) and I wouldn't have to work with such stupid workarounds...
j
🤦 yeah it should really let you say "I know what I'm doing" and override its """ validations """
f
especially when you get into more advanced suiteapps you gonna tend to use more complex patterns that there analyzer seem to be not able to scan correctly...