<@U4K7BGAJH> - What <@U29QCJQF3> suggested is exac...
# suitescript
v
@priyanka90 - What @michoel suggested is exactly the another way you are looking for. Essentially, you do need a client code to run on the button click event. You could either supply that code via a created client script or you can stringify the method code and supply that string as argument to addButton method.(like @aaz & @michoel suggested) You can run this on Suitelet form or on Beforeload's record form (which I think is your case)