Release NotesReference

SuiteScript 2.1 Enhancements in NetSuite 2026.1 Release Notes

Discover SuiteScript 2.1 enhancements in NetSuite 2026.1, including support for PATCH methods and custom tool script improvements.

·3 min read·NetSuite 2026.1·View Oracle Docs

Starting in NetSuite 2026.1, several key enhancements were introduced to SuiteScript and other modules. The most notable updates include the ability to execute SuiteScript 2.0 scripts as SuiteScript 2.1, support for the PATCH method in HTTP requests through N/http and N/https, and improvements to custom tool scripts that enhance execution logging and functionality.

Key Enhancements in SuiteScript 2.1

Execute SuiteScript 2.0 Scripts as 2.1

A new preference allows administrators to execute existing SuiteScript 2.0 scripts in a more modern SuiteScript 2.1 environment. This change is essential for those looking to leverage the improved performance and features of SuiteScript 2.1 while maintaining legacy scripts.

Support for PATCH Method

The N/http and N/https modules now support the PATCH method. This enhancement facilitates partial updates to resources over HTTP, providing developers with greater flexibility in how they execute API requests within their SuiteScript code.

Custom Tool Script Enhancements

Several enhancements have been made to custom tool scripts, which are vital for integrating various business processes. These include:

  • Updated Execution Logs: Custom tool scripts can now log their executions for easier monitoring and troubleshooting. Access these logs via Customization > Scripting > Script Execution Logs.
  • @NScriptType Tag: Developers must add the JSDoc tag @NScriptType CustomTool to custom tool scripts for proper identification.
  • Asynchronous Entry Points: It is now mandatory to declare entry functions as asynchronous, improving the management of asynchronous processes within the scripts.
  • SDF Updates: Changes to SDF object XML definitions are also required:
    • Rename the object name from 'tool' to 'toolset'.
    • Alter the scriptid prefix from customtool_ to custtoolset_.
    • Update the attribute exposeto3rdpartyagents to exposetoaiconnector.

These modifications equip developers with enhanced script monitoring capabilities and are necessary for leveraging the new functionalities effectively.

Subscription Metrics Cohort Enhancement

The customer records will now include an acquisition date field as part of the Subscription Metrics Cohort enhancement, allowing businesses to better track and analyze customer engagement over time.

AI Connector Service Enhancements

A new subtab has been added to the Execution Log of integration records specifically for the AI Connector Service. This addition streamlines the process of monitoring AI integrations, making it easier for developers to troubleshoot and ensure efficient operations.

Exception Management in Sandbox Accounts

Exception management features are now supported within Sandbox environments, allowing thorough testing of error-handling processes before production deployment.

Updated CDL Role Restrictions

Modifications to Class, Department, and Location (CDL) role restrictions on account records have been made to include unassigned values, providing businesses with greater flexibility in managing permissions.

Support for GPT-OSS Model

The N/llm module now supports the GPT-OSS model, which is significant for organizations looking to integrate advanced AI capabilities into their business processes.

Advanced Intercompany Journal Entries

Enhancements for advanced intercompany journal entries are now included, which are particularly relevant for businesses operating under stringent tax audits, especially in regions like the Philippines.

SuiteQL Tool Implementation

The new SuiteQL tool within the MCP Standard Tools enhances the reporting capabilities available to users, supporting consolidated reports and simplifying data retrieval processes.

Who This Affects

These updates are particularly relevant for:

  • Developers working with SuiteScript and integration services.
  • Administrators managing custom scripts and integration processes.
  • Accountants and finance teams using advanced intercompany journal entries and subscription metrics.

Key Takeaways

  • New preferences allow for the execution of SuiteScript 2.0 scripts as SuiteScript 2.1.
  • Support for the PATCH method in HTTP requests provides flexible API interaction.
  • Custom tool scripts have been enhanced for better logging and SDF object updates.
  • Subscription and AI enhancements improve tracking and integration capabilities.
  • Sandbox exception management improves testing and development processes.

Frequently Asked Questions (4)

Can I execute SuiteScript 2.0 scripts in the SuiteScript 2.1 environment in NetSuite 2026.1?
Yes, starting in NetSuite 2026.1, administrators can now execute existing SuiteScript 2.0 scripts in the SuiteScript 2.1 environment, which offers improved performance and features while maintaining legacy scripts.
What is needed to enable the PATCH method in SuiteScript HTTP requests?
In NetSuite 2026.1, the N/http and N/https modules support the PATCH method, allowing for partial updates to resources via HTTP within SuiteScript code. This does not require additional configuration but provides developers with greater flexibility in API requests.
What modifications are required for custom tool scripts in terms of SDF object XML definitions?
Developers need to update SDF objects by renaming the object name from 'tool' to 'toolset', changing the `scriptid` prefix from `customtool_` to `custtoolset_`, and updating the attribute `exposeto3rdpartyagents` to `exposetoaiconnector`, to align with NetSuite 2026.1 enhancements.
How does the 2026.1 release improve exception management within Sandbox accounts?
In the 2026.1 release, exception management features are supported within Sandbox environments, allowing developers to thoroughly test their error-handling processes before deploying to production, thereby improving testing and development workflow.

Weekly Update History (1)

Release Notesupdated

Updated link to the PDF file to point to v9. For the latest version, see NetSuite 2025.2 Release Notes.

View Oracle Docs
Source: New in February Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?