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?
More in SuiteScript
- N/https Module: Binary File Support in NetSuite 2025.2
NetSuite 2026.1 adds binary file support to N/https for streamlined file handling.
- API Governance Units Calculation in NetSuite 2026.1
NetSuite 2026.1 introduces examples illustrating API governance unit calculations for both user event and scheduled scripts.
- Attach and Detach Operations in NetSuite 2026.1
Attach and detach operations for record relationships in NetSuite enhance data management and connectivity.
- Create-Form Operation in NetSuite 2026.1 REST Web Services
Create-form operation in NetSuite 2026.1 APIs streamlines record creation and enhances efficiency.
Also from NetSuite 2026.1
- Custom Labels for Additional Item Prices in NetSuite 2026.1
Custom labels enhance transaction summaries in NetSuite, improving clarity for item prices.
- Applied Trans Date and Period Enhancements in NetSuite 20...
Latest updates in NetSuite 2024.1 enhance Accounting SuiteApps with transaction line distribution features.
- Data Not Copied from Production to Sandbox in NetSuite 2026.1
In NetSuite 2026.1, key data like domains and customer roles are not copied to sandbox accounts during refreshes, impacting setup.
- Available Items Only Feature in NetSuite 2026.1
Available items only filtering boosts sales efficiency in NetSuite 2026.1 with Intelligent Item Recommendations.
Advertising
Reach SuiteScript Professionals
Put your product in front of NetSuite experts who work with SuiteScript every day.
Sponsor This Category