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.

·2 min read·8 views·View Oracle Docs

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?
Yes, with the new preference introduced in the January 2026 update, developers can execute existing SuiteScript 2.0 scripts as SuiteScript 2.1, allowing them to leverage the performance enhancements and new features of SuiteScript 2.1.
Has there been an update to HTTP request methods in SuiteScript?
Yes, the `N/http` and `N/https` modules now support the PATCH method, which is useful for REST API implementations that require partial updates to resources.
What's new for testing in NetSuite sandbox accounts?
Exception management is now supported in sandbox accounts, enabling developers to better test workflows in a simulated environment and reduce production errors.
How do the recent updates affect AI integration in NetSuite?
An execution log subtab has been added to the AI Connector Service, which improves monitoring and troubleshooting of AI integrations by allowing administrators to view detailed logs of their operations.

Weekly Update History (1)

Release Notesupdated

Updated link to the PDF file to point to v26. For the latest version, see NetSuite 2025.2 Release Notes.

View Oracle Docs
Source: New in February Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in SuiteScript

View all SuiteScript articles →