``` define(["N/record","N/log","N/http"], function...
# suitescript
b
Copy code
define(["N/record","N/log","N/http"], function(record, log, http) {
  function test(context) {
    var rec = context.newRecord
    var recordId = rec.getValue('id');
    var loadedRecord = record.load({
        type: recordType,
        id: recordId,
        isDynamic: isDynamic,
    });
  }
  return { afterSubmit: test };
});