Troubleshooting: How to Handle "The Record Is Locked by a Workflow Action" Even When Your Script Runs as Admin
Tags: NetSuite, ERP, NetSuite Partner, NetSuite How To's, NetSuite Tips, Workflow, TroubleShooting, SuiteScript 2.1, User Event Script, suitelet, Record Lock
Adding a Button to a NetSuite Record and Showing a Customizable Popup with Client Script
Introduction
Adding a custom popup dialog to a NetSuite record form allows you to create interactive UI experiences beyond what the native server widget dialogs provide. With a Client Script, you can fully control the popup’s content, logic, and styling.
This article shows how to use a User Event Script (UE) to add a button, and a Client Script (CS) to display a simple but customizable popup dialog using a <div>. The popup includes a button that updates its own content, demonstrating how you can react to user actions.
Tags: NetSuite, ERP, Reporting, NetSuite Partner, NetSuite How To's, NetSuite Tips, SuiteScript, SuiteScript 2.1, User Event Script, Client Script, UI Customization, Popup


