Custom Fields
Custom fields let you add information specific to your business needs to records and transactions. You can create custom fields for records or transactions. Record custom fields can be added to existing and custom subtabs on the entry forms you use to enter records in your NetSuite account. Transaction custom fields can be added to the top (body) or the line items (columns) of transactions. Custom fields are based on standard fields and field types. For more information about custom field types, see the following:
SuiteScript doesn't support direct access to the NetSuite UI through the Document Object Model (DOM). You should access the NetSuite UI only by using SuiteScript APIs. For information about using SuiteScript APIs to customize the UI, see SuiteScript 2.x Custom Pages.
The following table lists required steps you must follow to create a custom field:
Required Steps |
Related Help Topics |
---|---|
Set the basic properties for the field |
|
Assign the field to forms, as needed |
|
Set the display properties for the field |
|
Set up validation and defaulting, and create dynamic defaults and hyperlinks if needed |
|
Set any sourcing criteria needed for the field |
|
Set any access restrictions to the field based on department, role, or subsidiary |
|
Set any filtering criteria needed for the field |
Here are some optional tasks you can do when creating a custom field:
Optional Tasks |
Related Help Topics |
---|---|
Filter dropdown list field options |
|
Make a field read-only |
|
Add field-level help for a custom field |
|
Translate the field label and help text |
|
Add a custom transaction field to a custom transaction form |
|
Add a formula to a field |
|
Create a custom list |
|
Change a custom field's type |
|
Track changes to a custom field |
|
Inactivate a custom field |
|
Create custom fields from summary search results |
Creating Custom Fields with Values Derived from Summary Search Results |
Maintain saved searches with edited custom fields |
Maintaining Saved Searches that Include Edited Custom Fields |
For step-by-step instructions about creating and editing custom fields, see the following:
Be aware of what happens when you delete a custom field. When you delete a field, instances of the field are removed from forms and lists, and all related data is deleted. Reports and searches with the deleted field may remove the field or error out, depending on how the field is used. If you inactivate the field, the data remains in NetSuite. Changing the field's data type or permissions can cause errors in reports and searches that use it. For information about deleting a custom field, see Buttons and Menus in NetSuite.
Custom fields work with SuiteCloud Development Framework (SDF). SDF is a development framework for creating SuiteApps or customizing NetSuite accounts using a local integrated development environment (IDE). SuiteCloud projects are file-based and use XML definitions of custom NetSuite objects. For more information, see SDF Custom Object and File Development in SuiteCloud Projects.
Watch this video for an overview of custom field setup options.
To view a list of custom fields training videos, see Custom Fields Videos.