If this is a suitelet and not attached by button t...
# suitescript
k
If this is a suitelet and not attached by button to the record in question then would be the only way i would have thought.