The scriptContext parameter only exists for native...
# suitescript
j
The scriptContext parameter only exists for native NetSuite calls (pageInit, fieldChanged, etc) so you use the current record module to get the record in a function call for a button you've defined.