Modify a disabled field of a record on the edit page in NetSuite using the browser’s debug

  • Open Edit page of a NetSuite record
  • Inside the browser console, enter the code provided below.
 require(['N/currentRecord'], currentRecord=>window.currentRecord=currentRecord)
  • Afterwards, enter the code provided below
let recordObj = currentRecord.get();
recordObj .setValue({fieldId:"id_of_the_field",value:"required_value"})
  • The disabled field value will be changed by now.
  • Now click on save

Leave a comment

Your email address will not be published. Required fields are marked *