In JavaScript, when you assign an object to a new variable, it creates a reference, not a copy. Any changes made to the new variable will also affect the original object. To avoid this, use the spread operator { …object } to create a separate copy. For example: let fields = { custrecord_project_status: 23, charityStatus:… Continue reading Updating Object Values Without Changing the Original in NetSuite JavaScript