yeah it will work. I used this technique a lot for...
# suitescript
p
yeah it will work. I used this technique a lot for server side validations for custom logic (that are so important and some devs sometimes forget it!)