``` if (context.type == "copy") { record.s...
# suitescript
a
Copy code
if (context.type == "copy") {
      record.setValue({
        fieldId: "custitem_mh_note_copy_pending",
        value: true
      });
      record.setValue({
        fieldId: "custitem_mh_notes_copied_from",
        value: +copiedFromId
      });
    }