you can get a reference to the current record thro...
# suitescript
j
you can get a reference to the current record through the
N/currentRecord
module
Copy code
define(['N/currentRecord'], function(currentRecord) {
  // somewhere in your script
  var rec = currentRecord.get();
  rec.getValue(...);
});