Custom Tool Script Enhancements and New Preferences in

Explore new Custom Tool Script enhancements and preferences for NetSuite, focusing on binary file support and execution mode updates.

·2 min read·4 views·View Oracle Docs

Starting in February, NetSuite enhances its scripting capabilities with pivotal updates to its SuiteScript feature. These enhancements focus on improving the functionality of custom tools, incorporating binary file support, and introducing new preferences for better scripting execution.

New Custom Tool Script Features

The updates include several key enhancements:

Binary File Support for N/https Module

A notable addition is the introduction of binary file support in the N/https module. This enhancement allows developers to seamlessly handle binary files, paving the way for more robust applications and integrations.

New Preferences for SFTP File Uploads

NetSuite now offers a new preference that enables the use of LIST for SFTP file uploads, facilitating a more simplified and user-friendly approach to uploading files securely via SFTP connections.

Execution of SuiteScript 2.0 Scripts as SuiteScript 2.1

To maintain adaptability and ensure the latest features can be utilized, there's now a preference to execute SuiteScript 2.0 scripts in SuiteScript 2.1 mode. This transition supports developers in modernizing their scripts effortlessly and leveraging newer functionalities available in SuiteScript 2.1.

Support for PATCH Method

Furthermore, the N/http and N/https modules now support the PATCH method, enabling developers to make partial updates to resources. This method is particularly useful for API integrations where full resource replacement is not necessary.

Who This Affects

These enhancements impact:

  • Developers: Benefiting from improved functionality and flexibility in scripting.
  • NetSuite Administrators: Who manage script deployment and configurations in the system.

Key Takeaways

  • Improved binary file handling capabilities.
  • Enhanced SFTP preference for easier uploads.
  • Option to run SuiteScript 2.0 scripts in 2.1 mode.
  • Introduction of PATCH method support for more efficient resource management.

Source: This article is based on Oracle's official NetSuite documentation.

Frequently Asked Questions (4)

Can I execute SuiteScript 2.0 scripts in SuiteScript 2.1 without rewriting them?
Yes, NetSuite 2026.1 introduces a preference that allows existing SuiteScript 2.0 scripts to be executed using the SuiteScript 2.1 API, facilitating easier script transitions.
What new HTTP method support is available in SuiteScript 2.1's N/http and N/https modules?
In NetSuite 2026.1, the N/http and N/https modules have been updated to include support for the PATCH HTTP method, enhancing RESTful interaction capabilities.
Is exception management support available in Sandbox accounts?
Yes, in NetSuite 2026.1, exception management support has been extended to Sandbox accounts, aiding developers in testing exception scenarios more effectively.
What are the new role restrictions related to Class, Department, and Location in NetSuite 2026.1?
Role restrictions have been updated to include unassigned values for Class, Department, and Location, providing greater flexibility in role-based access controls.

Weekly Update History (1)

Release Notesupdated

Updated link to the PDF file to point to v25. 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 →