Binary File Support and Enhancements in SuiteScript
Discover new SuiteScript enhancements, including binary file support for the N/https module and preferences for file uploads.
Starting in NetSuite, several enhancements have been made available for SuiteScript, especially focusing on improving file handling and script execution preferences. These changes are designed to enhance the development experience and expand functionality for developers working within the NetSuite environment.
Key Enhancements
Binary File Support for N/https Module
The introduction of binary file support for the N/https module allows developers to handle binary files more effectively. This enhancement is particularly beneficial for applications that require file uploads/downloads in various formats.
New Preference for SFTP File Uploads
A new preference has been added to enable the use of LIST for SFTP file uploads. This allows developers to manage file uploads in a more structured and organized manner, decreasing the likelihood of upload errors.
Execute SuiteScript 2.0 as SuiteScript 2.1
With the latest enhancements, SuiteScript 2.0 scripts can now be executed as SuiteScript 2.1. This update provides developers with access to newer features and improvements present in the 2.1 version, while maintaining compatibility with existing 2.0 scripts.
Support for PATCH Method
The N/http and N/https modules have been updated to support the HTTP PATCH method. This addition is crucial for developers utilizing RESTful API services, as it allows for partial updates to resources instead of requiring full resource replacement.
Support for GPT-OSS Model
There is also newly introduced support for the GPT-OSS model within the N/llm module. This advancement opens up possibilities for AI-driven functionalities by utilizing advanced language model capabilities for various applications.
Who This Affects
- Developers: Those involved in SuiteScript development will benefit significantly from these enhancements.
- System Administrators: Changes in file handling and script capabilities can improve overall system performance and usability.
Key Takeaways
- SuiteScript enhancements include binary file support for N/https module.
- A new preference allows LIST for SFTP file uploads.
- Developers can execute SuiteScript 2.0 scripts as 2.1.
- The PATCH HTTP method is now supported for partial updates.
- Enhanced AI capabilities with support for the GPT-OSS model.
Source: This article is based on Oracle's official NetSuite documentation.
Frequently Asked Questions (4)
Can I execute existing SuiteScript 2.0 scripts as SuiteScript 2.1?
Has there been an update to HTTP request methods in SuiteScript?
What's new for testing in NetSuite sandbox accounts?
How do the recent updates affect AI integration in NetSuite?
Weekly Update History (1)
Updated link to the PDF file to point to v26. For the latest version, see NetSuite 2025.2 Release Notes.
View Oracle DocsWas this article helpful?
More in SuiteScript
- 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.
- Binary File Support in N/https Module for SuiteScript
SuiteScript enhances capabilities with binary file support in the N/https module, allowing improved data handling in external communications.
- 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.
