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.
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
tooltotoolset).
- Add the JSDoc tag
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?
How can the PATCH method be utilized in NetSuite 2026.1 for API interactions?
What updates are required for custom tool scripts in NetSuite 2026.1?
How does the AI Connector Service update affect script execution logs?
Weekly Update History (1)
Updated link to the PDF file to point to v17. 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