Custom Tool Script Enhancements in SuiteScript
Discover the new custom tool script enhancements in SuiteScript that improve functionality and support for scripting tasks.
TL;DR
New custom tool script enhancements in SuiteScript provide improved functionality, including binary file support and the ability to execute SuiteScript 2.0 scripts as SuiteScript 2.1, enabling developers to leverage modern features in their scripts.
What’s New?
The latest updates to SuiteScript include significant enhancements aimed at improving scripting capabilities and user experience. Here are the key changes:
Binary File Support for N/https Module
The N/https module now supports binary file uploads, which allows for the transfer of binary files through HTTPS, rather than just textual data. This enhancement is crucial for applications that manage files, improving integration capabilities with external services.
New Preference to Use LIST for SFTP File Uploads
A new operational preference has been introduced for SFTP file uploads, enabling users to specify the use of LIST for retrieval actions, which can optimize interaction with SFTP servers and enhance the performance of file management tasks.
Execute SuiteScript 2.0 Scripts as SuiteScript 2.1
To streamline your development process, you can now execute existing SuiteScript 2.0 scripts as SuiteScript 2.1. This feature allows developers to take advantage of the improvements and new functionalities in SuiteScript 2.1 without modifying all their existing code.
N/http and N/https Now Supports PATCH Method
Both the N/http and N/https modules now include support for the PATCH HTTP method, enabling more flexible update capabilities for resources. This is particularly useful for developers who need to modify existing data without replacing it entirely.
Support for GPT-OSS Model in N/llm Module
The integration of the GPT-OSS model into the N/llm module allows developers to utilize advanced AI capabilities directly within NetSuite. This can enhance workflows, analytics, and other functionalities that benefit from machine learning insights.
Who This Affects
- Developers: Greater capabilities and flexibility in script development.
- Administrators: Enhanced administrative control over file uploads and script execution preferences.
Key Takeaways
- The N/https module now supports binary file transfers.
- New preferences have been added for SFTP file uploads.
- Existing SuiteScript 2.0 scripts can run as SuiteScript 2.1.
- The PATCH method is now available in N/http and N/https.
- Support for the GPT-OSS model expands AI capabilities within NetSuite.
Source: This article is based on Oracle's official NetSuite documentation.
Frequently Asked Questions (4)
Can SuiteScript 2.0 scripts be executed as SuiteScript 2.1 in NetSuite 2026.1?
Is the PATCH HTTP method now supported in NetSuite's N/http and N/https modules?
What new support does the N/llm module offer in NetSuite 2026.1?
Can Exception Management be utilized in Sandbox accounts in NetSuite 2026.1?
Weekly Update History (1)
Updated link to the PDF file to point to v13. 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.
