Look at most of the script NetSuite PS write and y...
# suitescript
c
Look at most of the script NetSuite PS write and you can see that they pretty much give up writing good scripts - if it works it works