In general, you can retrieve the ID of the current...
# suitescript
e
In general, you can retrieve the ID of the current Record via
currentRecord.id