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.
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?
What new HTTP method support is available in SuiteScript 2.1's N/http and N/https modules?
Is exception management support available in Sandbox accounts?
What are the new role restrictions related to Class, Department, and Location in NetSuite 2026.1?
Weekly Update History (1)
Updated link to the PDF file to point to v25. 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.
