https://netsuiteprofessionals.com logo
#suitescript
Title
# suitescript
j

jen

04/11/2022, 9:27 PM
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

battk

04/11/2022, 11:03 PM
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

jen

04/12/2022, 2:28 PM
Oh NetSuite. Why do you do the things that you do.