then you need to make a function in the client scr...
# suitescript
j
then you need to make a function in the client script with the function name you specify when adding the button.