Can someone confirm whether or not live editing SS...
# suitescript
j
Can someone confirm whether or not live editing SS1.0 Custom Form Scripts in the Chrome DevTools still works? For example, if I want to just add
return true;
at the beginning of the
SaveRecord()
function, it should just …. SAVE the record and not execute code following the return.
This stopped working for me a while back and I cannot figure out why.
message has been deleted
I open the custom form script in sources, edit it, command-s to save changes, try to save the invoice, and …. it doesn’t pick up the change.
It definitely used to work to live-edit javascript in the dev tools.
b
that technique relies on netsuite calling the SaveRecord function in a particular way
in this case, it requires netsuite to not store a reference to the original SaveRecord method
netsuite makes no such promise
j
Oh NetSuite. Why do you do the things that you do.