Blog · Fields
Before you delete a custom field
A custom field cleanup sounds harmless until the field turns out to be part of how finance runs the business.
Maybe it’s an approval threshold. Maybe a SuiteScript checks it before routing invoices. Maybe a saved search pulls it into a controller’s month-end review. Maybe it became audit evidence three years ago and nobody remembers who made that decision.
A script reference or saved search shows you where the field is touched. It still doesn’t tell you what breaks, operationally or financially, when you change it.
What to check first
Before hiding, renaming, or deleting an important NetSuite field, I’d want to know:
- Which scripts, workflows, and saved searches read it or set it?
- Is it tied to approvals, controls, or audit support?
- Who depends on it without realizing they do?
If you are checking manually inside NetSuite, run through five places in order:
- Scripted references: Open the custom field definition and click Show Scripted References, then also search the File Cabinet for the exact script ID (for example,
custbody_...orcustentity_...)—dynamic strings and SuiteQL queries don’t always show up in NetSuite’s built-in reference check. - Workflows: Check active Workflows for conditions, Set Field Value actions, and formula expressions referencing the field ID.
- Saved Searches and Reports: Check Criteria, Results columns, Highlighting, and Summary filters—especially searches scheduled for finance or month-end close.
- Advanced PDF/HTML templates & email templates: FreeMarker templates referencing a deleted field ID can break invoice or order printing.
- External integrations and CSV imports: Check active TBA tokens, RESTlets, and saved CSV import maps—these live outside NetSuite’s metadata and won’t show up in any in-account scan.
Where CSDocs helps
Ask CSDocs “What breaks if I delete this field?” to get every script, workflow, and saved search that reads, sets, or reports on it, down to the exact line of code. It can’t see external integrations or CSV imports, and it flags anything it couldn’t inspect. You still bring the business context, without spending half a day hunting through NetSuite first.
Asking what breaks if a field is deleted. Sample data from our demo account (Larkspur Outfitters).
More from the blog
Why is saving a Sales Order in NetSuite so slow?
How to trace slow Sales Order saves across APM, Scripted Records, User Event scripts, and Workflows—and the four SuiteScript patterns that cause most delays.
CleanupHow to audit an inherited NetSuite account
A five-step read-only checklist for taking over a heavily customized NetSuite account without breaking production.