<@U2ED4NDEK> were you using the TOP context ?
# suitescript
l
@jonny were you using the TOP context ?
j
In the console? Yes I was. I even did a search through all script in the DOM and those functions are no where to be found.
l
I did it in server side, but I believe you can do the same for client script, you can refer to your custom library with something like: define(['N/error', 'N/log', './LIB_Netsuite_2_0' ], function(error, log, lib_netsuite) {... Where LIB_Netsuite_2_0 refers to a file LIB_Netsuite_2_0.js in the same folder of your script
"functions set from the user event script aren't available on the window in the console" functions in server user event aren't visible on client side, you have to set them as client script or through libraries