Finding Records and Subrecords in SuiteScript
Easily locate records and subrecords in SuiteScript using the Records Browser for effective scripting and integration.
The SuiteScript Records Browser allows developers to find both records and subrecords efficiently, ensuring smooth scripting and integration in NetSuite. This tool is essential for accessing necessary IDs and details for SuiteScript development.
How Do You Find a Record or Subrecord?
To locate a record or subrecord, follow these steps:
-
Click the appropriate letter at the top of the Records Browser.
- The left pane displays record names starting with your selected letter, while the center pane shows details for the first record in the list.
-
Click the name of the desired record in the left pane.
- This action will populate the center pane with the relevant record details.
Additionally, you can access subrecord pages from their parent records. Each summary field for a subrecord on a record page links directly to the corresponding subrecord page. For instance, on the Sales Order page, fields such as billingaddress and shippingaddress will provide links to their respective address subrecord pages. Clicking the summary link in the Type column will navigate you to the appropriate subrecord page.

Best Practices
- Always reference the SuiteScript Records Browser for the most accurate record IDs.
- Ensure you understand which fields are read-only and which can be set using SuiteScript by checking the NetSuite UI.
- If a field cannot be set through the UI, it should also not be set via SuiteScript.
Related Topics
- Working with the SuiteScript Records Browser
- SuiteScript Record Summary Overview
- Deleted Record Search
By efficiently navigating the Records Browser, developers can streamline their SuiteScript scripting tasks and enhance overall productivity in their NetSuite implementations.
Frequently Asked Questions (4)
How can I access subrecords in SuiteScript?
Is it possible to modify all fields of a record using SuiteScript?
How do I ensure I'm using the correct record IDs in my SuiteScript projects?
What are the steps to locate a specific record using the SuiteScript Records Browser?
Was this article helpful?
More in SuiteScript
- Common SuiteScript Errors and Solutions for NetSuite
Common NetSuite script errors include INVALID_SCRIPT_DEPLOYMENT_ID and SSS_AUTHORIZATION_HEADER_NOT_ALLOWED. Learn effective solutions.
- Set Sublist Field Values in SuiteScript 2.x for Record Management
Set sublist field values in SuiteScript 2.x for effective record management using standard and dynamic modes.
- Setting Field Values in SuiteScript for Effective Record
Learn to set field values in SuiteScript effectively, troubleshooting common errors and understanding data types.
- SuiteScript 2.1 Enhancements and API Updates in NetSuite
SuiteScript 2.1 enables execution of 2.0 scripts and supports PATCH method for enhanced API capabilities.
Advertising
Reach SuiteScript Professionals
Put your product in front of NetSuite experts who work with SuiteScript every day.
Sponsor This Category