New SuiteScript Enhancements in NetSuite 2026.1

Explore new SuiteScript enhancements in NetSuite 2026.1, including support for PATCH method and AI Connector service updates.

·2 min read·NetSuite 2026.1·View Oracle Docs

Starting in NetSuite 2026.1, several significant enhancements have been introduced that focus on improving SuiteScript functionality and integration capabilities. These updates are crucial for developers and administrators looking to leverage advanced scripting features and enhance their solutions.

What's New in SuiteScript

New Preference for SuiteScript 2.0 to 2.1 Migration

A new preference allows developers to execute SuiteScript 2.0 scripts as SuiteScript 2.1. This change not only facilitates smoother transitions for legacy scripts but also enables users to take advantage of the improved performance and features available in SuiteScript 2.1.

PATCH Method Support

The N/http and N/https modules now support the PATCH method, allowing for more complex API interactions. This is particularly useful for developers needing to update existing records without uploading entire datasets.

Custom Tool Script Enhancements

Custom tool scripts have undergone critical updates:

  • Script Execution Logs: Developers can now view execution logs for custom tool scripts, aiding in performance monitoring and debugging. Access these logs via Customization > Scripting > Script Execution Logs.
  • Code Updates Required:
    • Add the JSDoc tag @NScriptType CustomTool.
    • Declare entry point functions as asynchronous.
    • Update SDF object definitions accordingly (e.g., change tool to toolset).

These enhancements provide improved script monitoring and troubleshooting capabilities.

Support for AI Connector Service

A new subtab within the execution log of integration records has been introduced for the AI Connector Service (MCP), enabling better oversight and management of AI-related processes.

Additional Features

  • Subscription Metrics Cohort Enhancement: A new acquisition date field on customer records helps track customer acquisition, enhancing customer analytics.
  • Exception Management: Organizations can now manage exceptions directly within their sandbox accounts, streamlining testing and deployment processes.
  • CDL Role Restrictions Update: Class, Department, and Location (CDL) role restrictions on account records now encompass unassigned values, improving data security and compliance.
  • GPT-OSS Model Support: The N/llm module now supports the GPT-OSS model, broadening the scope of natural language processing capabilities within NetSuite.

Who This Affects

The enhancements outlined above will primarily affect:

  • Developers: By supporting improved scripting capabilities and API integration.
  • Administrators: As they manage deployments and ensure system readiness for these new features.
  • Data Analysts: With new metrics and logs available for deeper analytics and insights.

Key Takeaways

  • New SuiteScript enhancements in NetSuite 2026.1 improve scripting capabilities and API integration.
  • Support for executing SuiteScript 2.0 as 2.1 enhances transition for legacy scripts.
  • PATCH method support in N/http and N/https allows for efficient data updates.
  • Custom tool scripts now feature enriched logging for better monitoring and troubleshooting.
  • AI Connector service updates improve integration with artificial intelligence workflows.

Frequently Asked Questions (4)

Do I need to enable a preference to run SuiteScript 2.0 scripts as 2.1 in NetSuite 2026.1?
Yes, there is a new preference that allows developers to execute SuiteScript 2.0 scripts as SuiteScript 2.1, facilitating smoother transitions for legacy scripts.
How can the PATCH method be utilized in NetSuite 2026.1 for API interactions?
The PATCH method can be used in the N/http and N/https modules, enabling developers to update existing records without uploading entire datasets, which supports more complex API interactions.
What updates are required for custom tool scripts in NetSuite 2026.1?
Developers need to add the JSDoc tag '@NScriptType CustomTool', declare entry point functions as asynchronous, and update SDF object definitions accordingly, such as changing 'tool' to 'toolset'.
How does the AI Connector Service update affect script execution logs?
A new subtab within the execution log for integration records provides better oversight and management of AI-related processes, enhancing the monitoring capabilities for these workflows.

Weekly Update History (1)

Release Notesupdated

Updated link to the PDF file to point to v17. 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?