If it were a script running on a record then you'd...
# suitescript
n
If it were a script running on a record then you'd just use nlapiXYZ