New SuiteScript Features and Enhancements in NetSuite 2026.1
Explore new SuiteScript 2.1 features and improvements in NetSuite 2026.1, including enhanced execution logs and support for GPT-OSS.
TL;DR Opening
Starting in NetSuite 2026.1, several notable enhancements were introduced to SuiteScript and integration capabilities. Key updates include the ability to execute SuiteScript 2.0 scripts as SuiteScript 2.1, support for new HTTP methods, and improved logging for custom tool scripts.
What's New in SuiteScript and Integration
New Preference for SuiteScript Execution
With the introduction of a new preference, users can now execute SuiteScript 2.0 scripts using the SuiteScript 2.1 framework. This change facilitates improved functionality and aligns older scripts with the latest standards in NetSuite.
Support for PATCH Method
The N/http and N/https modules now support the PATCH method, allowing developers to make partial updates to resources, thus enhancing the capabilities of RESTful web services within NetSuite.
Enhancements in Custom Tool Scripts
NetSuite has also introduced detailed logging capabilities for custom tool scripts. This feature allows users to monitor and troubleshoot executions effectively. Key updates include:
- Add the JSDoc tag
@NScriptType CustomToolto custom tool scripts. - Declare entry point functions for tool methods as asynchronous.
- Update SDF object names and prefixes to reflect new standards.
To view execution logs for custom tool scripts, navigate to Customization > Scripting > Script Execution Logs. Applying these updates ensures seamless monitoring of script performance.
Additional Features
- Support for GPT-OSS Model: The N/llm module now supports the GPT-OSS model, enhancing AI capabilities within the Suite. This integration opens doors for advanced language processing functionalities directly within NetSuite.
- Subscription Metrics Cohort Enhancement: An Acquisition Date field has been added to customer records, enriching the data available for analyzing subscription metrics.
- New Subtab for AI Connector Service: Integration records now include a new subtab in the execution log tailored for the AI Connector Service (MCP).
- Exception Management in Sandboxes: Exception management is now supported in sandbox accounts, giving developers better control during testing and integration phases.
Class, Department, and Location Role Restrictions
Updates to account records now allow Class, Department, and Location role restrictions to include unassigned values, granting greater flexibility in record management.
Who This Affects
- Administrators: For configuring SuiteScript settings.
- Developers: Benefiting from enhanced script capabilities and logging.
- Accountants and Finance Professionals: Utilizing new features for metrics and reporting.
Key Takeaways
- The new preference allows SuiteScript 2.0 scripts to run in the SuiteScript 2.1 environment for improved compatibility.
- Support for the PATCH method enhances API capabilities for resource updates.
- Detailed logging for custom tool scripts aids performance monitoring and troubleshooting.
- The introduction of the GPT-OSS model expands AI utilization in integrations.
- Role restrictions have been updated for improved account management flexibility.
Frequently Asked Questions (4)
Can SuiteScript 2.0 scripts run in the SuiteScript 2.1 framework?
What new HTTP method supports partial updates within NetSuite?
How can I view execution logs for custom tool scripts in NetSuite 2026.1?
Are role restrictions for Class, Department, and Location more flexible in NetSuite 2026.1?
Weekly Update History (1)
Updated link to the PDF file to point to v18. For the latest version, see NetSuite 2025.2 Release Notes.
View Oracle DocsWas this article helpful?