> Before you delete a custom field · CSDocs blog
> A custom field cleanup sounds harmless until the field turns out to be part of how finance runs the business. What to check first.
> Page: https://getcsdocs.com/post

[Blog](https://getcsdocs.com/blog) · Fields

# Before you delete a custom field

**[Ben Rogol](https://getcsdocs.com/author) ** · Founder, Cloud Steward · Nov 17, 2026

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:

1. **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_...` or `custentity_...`)—dynamic strings and SuiteQL queries don’t always show up in NetSuite’s built-in reference check.
2. **Workflows:** Check active Workflows for conditions, Set Field Value actions, and formula expressions referencing the field ID.
3. **Saved Searches and Reports:** Check Criteria, Results columns, Highlighting, and Summary filters—especially searches scheduled for finance or month-end close.
4. **Advanced PDF/HTML templates & email templates:** FreeMarker templates referencing a deleted field ID can break invoice or order printing.
5. **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.

What breaks if I delete the Legacy Customer ID field?

CSDocs

Impact of deleting **Legacy Customer ID** (`custentity_legacy_id`):

**Not safe to delete**

Referenced by 3 scripts and 1 saved search.

- **AR Aging by Customer** filters on it
- **EDI 850 Order Import** matches on it
- **Customer CRM Sync** reads it
- **Web Store Order RESTlet** reads it

2 other scripts construct field IDs dynamically — check those manually.

Show on MapSee exact lines

Asking what breaks if a field is deleted. Sample data from our demo account (Larkspur Outfitters).

## More from the blog

Performance

### 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.

Cleanup

### How to audit an inherited NetSuite account

A five-step read-only checklist for taking over a heavily customized NetSuite account without breaking production.
