SuiteScript 2.0 to 2.1 Execution Preference in NetSuite 2026.1
NetSuite 2026.1 introduces a new preference to execute SuiteScript 2.0 scripts as SuiteScript 2.1, enhancing script compatibility and performance.
Starting in NetSuite 2026.1, a new preference has been introduced that allows SuiteScript 2.0 scripts to be executed as SuiteScript 2.1. This change is significant as it streamlines the transition for developers looking to leverage newer JavaScript features and maintain script compatibility.
Key Enhancements
- Improved Performance: Executing scripts in SuiteScript 2.1 may enhance performance with better optimization techniques.
- Access to New Features: Developers can take advantage of the latest SuiteScript 2.1 features without needing to rewrite existing 2.0 scripts.
- Backward Compatibility: This preference allows teams to incrementally upgrade their scripts rather than overhauling the entire codebase at once.
Who This Affects
- Developers: Beneficial for developers maintaining legacy SuiteScript 2.0 scripts who want to update them to SuiteScript 2.1 functionality.
- Administrators: Those responsible for managing NetSuite script configurations will need to adjust settings to utilize this new feature.
Additional Notable Updates
Alongside the preference for SuiteScript execution, NetSuite 2026.1 brings several other enhancements:
- N/http and N/https now supports PATCH method: This supports RESTful operations allowing partial updates to resources.
- Support for GPT-OSS Model in N/llm Module: Expands integration capabilities for AI-related functionalities.
- Advanced features in SuiteProcurement & Subscription Metrics: Enabling deeper insights into procurement and subscription data.
Note: Be sure to review existing scripts thoroughly after enabling this preference to ensure functionality and performance meet your requirements.
Key Takeaways
- New Preference: Scripts can be executed as SuiteScript 2.1 for enhanced performance.
- Streamlined Transition: Facilitates easier upgrades from SuiteScript 2.0.
- Broader AI Support: Introduction of AI integration capabilities with the GPT-OSS model.
- Other Enhancements: Includes updates to procurement practices and subscription metrics tracking.
Frequently Asked Questions (4)
Is there a setting to enable SuiteScript 2.0 scripts to run as SuiteScript 2.1 in NetSuite 2026.1?
Do we need to rewrite SuiteScript 2.0 scripts to leverage SuiteScript 2.1 features in NetSuite 2026.1?
What should developers be cautious about when enabling the execution of SuiteScript 2.0 as SuiteScript 2.1?
Does the SuiteScript execution preference update in NetSuite 2026.1 affect backward compatibility?
Weekly Update History (1)
Updated link to the PDF file to point to v12. For the latest version, see NetSuite 2025.2 Release Notes.
View Oracle DocsWas this article helpful?
More in SuiteScript
- Scheduling Map/Reduce Script Submissions in NetSuite 2026.1
In NetSuite 2026.1, you can now schedule map/reduce script deployments for one-time or recurring submissions, enhancing task automation.
- 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