SuiteScript 2.1: New Preferences and Enhancements in NetSuite
NetSuite 2026.1 introduces new SuiteScript 2.1 preferences and enhancements, including script execution improvements and API functionality.
TL;DR Opening
Starting in NetSuite 2026.1, several enhancements to SuiteScript, including a new preference to execute SuiteScript 2.0 scripts as SuiteScript 2.1, expanded HTTP methods, and improved custom tool script capabilities have been introduced. These changes enhance API functionality and improve script management for users and developers.
What's New
New Preference for SuiteScript Execution
One of the key updates in this release is the ability to execute SuiteScript 2.0 scripts as SuiteScript 2.1. This change simplifies upgrades and ensures better compatibility with newer APIs.
HTTP Method Support Expanded
Both the N/http and N/https modules now support the PATCH method, allowing developers to update resources while maintaining specific attributes of a record. This is particularly useful for working with RESTful services that rely on partial updates.
Enhancements for SuiteProcurement
Updates to SuiteProcurement streamline the procurement process, although specific new features are still being detailed. This will likely improve the way procurement data is managed and reported.
Subscription Metrics Cohort Enhancements
The Subscription Metrics report will now include an Acquisition Date field on customer records. This enhancement provides better insight into customer acquisition efforts and their impact on subscription metrics.
AI Integration Updates
A new subtab has been added to the execution log of integration records specifically for the AI Connector Service (MCP). This feature aids in tracking and managing AI integration processes.
Exception Management in Sandbox Accounts
Exception Management is now supported in sandbox accounts, providing better testing and monitoring capabilities for developers.
Updated Role Restrictions
Class, Department, and Location (CDL) role restrictions on account records have been updated to include unassigned values, enhancing flexibility for user role configuration.
New Support for GPT-OSS Model
The introduction of the GPT-OSS model within the N/llm module allows developers to leverage more advanced AI functionalities in their SuiteScripts, optimizing various processes.
Advanced Intercompany Journal Entries
Specific to Philippine tax audits, this feature allows more advanced handling of intercompany journal entries, ensuring compliance with local tax regulations.
Consolidated Reports and SuiteQL Tool
Support for consolidated reports alongside a new SuiteQL tool will enable developers to fetch and manipulate data more effectively, catering to complex reporting requirements.
Who This Affects
- Administrators: Beneficial for those setting up new preferences and features.
- Developers: Key impact on scripting and integration functionality.
- Accountants and Finance Teams: Relevant updates for financial reporting and audits.
- Business Analysts: Improved metrics and reporting capabilities will enhance analysis.
Key Takeaways
- Introduces a preference to run SuiteScript 2.0 scripts as SuiteScript 2.1.
- Expands HTTP method support, including the PATCH method, for better API interaction.
- Adds new features aimed at SuiteProcurement and subscription metrics reporting.
- Supports streamlined exception management in sandbox environments.
- Enhances capabilities for AI integration and consolidated reporting tools.
Frequently Asked Questions (4)
How can I enable the preference to execute SuiteScript 2.0 scripts as SuiteScript 2.1?
What new HTTP methods are supported in the N/http and N/https modules?
Does the introduction of the GPT-OSS model affect existing AI scripts?
Is Exception Management now usable in sandbox environments?
Weekly Update History (1)
Updated link to the PDF file to point to v22. For the latest version, see NetSuite 2025.2 Release Notes.
View Oracle DocsWas this article helpful?