I am trying to create a button via user event befo...
# suitescript
s
I am trying to create a button via user event beforeload, and execute the logic within the same script? I want to transform a SO to INV
s
Typically behavior is add button in UserEvent which calls a function sitting on client script. The action is happening client side (button click is client side action), so the logic to do the work is typically on a client script.
s
Yes, that I’m aware. I just wanted to check if there’s a way to do it within the same script
b
theoretically possible, but its the equivalent of writing a string to be evaled
s
okay.. thank you!