Custom Tool Script Enhancements in NetSuite SuiteScript

Discover new Custom Tool Script enhancements in SuiteScript, improving functionality for developers in NetSuite.

·2 min read·8 views·View Oracle Docs

TL;DR: Recent enhancements to Custom Tool Scripts in SuiteScript improve development capabilities within NetSuite. These updates introduce new preferences and support for various operations that can streamline integrations and file uploads.

What’s New in Custom Tool Script Enhancements?

Recent improvements to Custom Tool Scripts in NetSuite have introduced several key enhancements aimed at optimizing development processes. Notably, these features address the needs of developers who are looking to implement more dynamic and responsive functionalities in their applications.

Key Enhancements Summary

  • Binary File Support for N/https Module: This enhancement allows developers to handle binary file types more effectively within scripts, expanding the capabilities of file management.
  • New Preference for SFTP File Uploads: A new preference has been introduced to streamline SFTP file uploads using the LIST command, enhancing file transfer efficiency and error handling.
  • Execution of SuiteScript 2.0 as SuiteScript 2.1: Developers now have the option to run SuiteScript 2.0 scripts in a 2.1 environment, providing greater flexibility and access to updated functionalities.
  • Support for the PATCH Method in N/http and N/https: This allows developers to make PATCH requests, enabling more efficient updates to existing records.
  • Integration with GPT-OSS Model in N/llm Module: By supporting this generative model, developers can leverage advanced AI capabilities for improved data handling and processing.

Who This Affects

  • Developers: Primarily impacts those utilizing SuiteScript to create or enhance custom applications.
  • System Administrators: With improvements in deployment and error handling, system administrators can ensure a smoother operational experience.

Key Takeaways

  • Enhanced binary file handling in the N/https module increases file management capabilities.
  • Improved SFTP file upload preferences streamline operations for developers.
  • The ability to run older versions of scripts under newer environments increases compatibility and reduces the need for major overhauls.

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

Frequently Asked Questions (4)

Is there a setting to enable SuiteScript 2.0 scripts to run as SuiteScript 2.1 in NetSuite 2026.1?
Yes, NetSuite 2026.1 introduces a new preference that allows SuiteScript 2.0 scripts to be executed as SuiteScript 2.1, which can be enabled to take advantage of improved performance and new features.
Do we need to rewrite SuiteScript 2.0 scripts to leverage SuiteScript 2.1 features in NetSuite 2026.1?
No, with the new preference in NetSuite 2026.1, existing SuiteScript 2.0 scripts can be executed as SuiteScript 2.1 without rewriting them, allowing easier access to SuiteScript 2.1 features.
What should developers be cautious about when enabling the execution of SuiteScript 2.0 as SuiteScript 2.1?
Developers should thoroughly review existing scripts after enabling this preference to ensure they function correctly and meet performance expectations under SuiteScript 2.1.
Does the SuiteScript execution preference update in NetSuite 2026.1 affect backward compatibility?
No, the new execution preference maintains backward compatibility, enabling teams to upgrade scripts incrementally rather than requiring an immediate complete overhaul.

Weekly Update History (1)

Release Notesupdated

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