New Preference for SuiteScript 2.1 Execution in NetSuite Weekly
New in the February 16, 2026: a preference to execute SuiteScript 2.0 scripts as SuiteScript 2.1, enhancing compatibility.
TL;DR Opening
Starting in the Weekly Update on February 16, 2026, NetSuite introduces a new preference allowing SuiteScript 2.0 scripts to be executed as SuiteScript 2.1. This change enhances compatibility and performance for developers transitioning their scripts to the newer SuiteScript version.
What's New
New Preference for SuiteScript Execution
With the latest updates, administrators can now set a preference that automatically executes SuiteScript 2.0 scripts as SuiteScript 2.1. This functionality not only improves script reliability but also enables developers to leverage the modern features and enhancements available in SuiteScript 2.1 without having to rewrite or manually update existing scripts.
Benefits of the New Preference:
- Backward Compatibility: Ensures that older scripts continue to function correctly with the newer version.
- Enhanced Performance: SuiteScript 2.1 offers performance improvements and best practices that can now be applied to older scripts.
- Simplified Maintenance: Developers can focus on upgrading their development practices rather than maintaining differences between SuiteScript versions.
Updated HTTP Methods
In addition to this significant improvement, the N/http and N/https modules now support the PATCH method, which allows partial updates to resources. This is particularly useful in modern RESTful services where you may want to update specific fields without sending the entire resource.
Support for AI Integration
Moreover, NetSuite has introduced support for the GPT-OSS model within the N/llm module, expanding the capabilities for AI-driven functionality and data processing.
Sandbox Exception Management
Another notable enhancement is the introduction of exception management support in sandbox accounts. This feature allows developers and administrators to better manage exceptions during testing and development phases.
Improving Procurement
In the realm of procurement, enhancements have been made to support subscription metrics, such as the acquisition date field on customer records, allowing for better tracking and management of customer subscriptions.
Who This Affects
- Administrators: Responsible for setting preferences and managing script executions.
- Developers: Who need to transition existing SuiteScript 2.0 scripts to SuiteScript 2.1.
- Integrators: Who work with API and integration functionalities within NetSuite.
- Procurement Managers: Focused on leveraging new features for subscription management.
Key Takeaways
- A new preference allows SuiteScript 2.0 scripts to run as SuiteScript 2.1, fostering easier upgrades.
- N/http and N/https now support PATCH methods for more flexible data updates.
- AI model support enhances capabilities for data processing.
- Sandbox exception management helps streamline testing processes.
- Enhancements in procurement metrics improve subscription management functionality.
Frequently Asked Questions (4)
Does the new preference in the update affect existing SuiteScript 2.0 scripts?
Do I need to manually update my SuiteScript 2.0 scripts to use SuiteScript 2.1 features?
What are the benefits of using the new preference for executing SuiteScript 2.0 scripts?
How does the update to the N/http and N/https modules impact API integrations?
Weekly Update History (1)
Updated link to the PDF file to point to v28. For the latest version, see NetSuite 2025.2 Release Notes.
View Oracle DocsWas this article helpful?