Custom Tool Script Enhancements in SuiteScript

Discover the new custom tool script enhancements in SuiteScript that improve functionality and support for scripting tasks.

·2 min read·1 views·View Oracle Docs

TL;DR

New custom tool script enhancements in SuiteScript provide improved functionality, including binary file support and the ability to execute SuiteScript 2.0 scripts as SuiteScript 2.1, enabling developers to leverage modern features in their scripts.

What’s New?

The latest updates to SuiteScript include significant enhancements aimed at improving scripting capabilities and user experience. Here are the key changes:

Binary File Support for N/https Module

The N/https module now supports binary file uploads, which allows for the transfer of binary files through HTTPS, rather than just textual data. This enhancement is crucial for applications that manage files, improving integration capabilities with external services.

New Preference to Use LIST for SFTP File Uploads

A new operational preference has been introduced for SFTP file uploads, enabling users to specify the use of LIST for retrieval actions, which can optimize interaction with SFTP servers and enhance the performance of file management tasks.

Execute SuiteScript 2.0 Scripts as SuiteScript 2.1

To streamline your development process, you can now execute existing SuiteScript 2.0 scripts as SuiteScript 2.1. This feature allows developers to take advantage of the improvements and new functionalities in SuiteScript 2.1 without modifying all their existing code.

N/http and N/https Now Supports PATCH Method

Both the N/http and N/https modules now include support for the PATCH HTTP method, enabling more flexible update capabilities for resources. This is particularly useful for developers who need to modify existing data without replacing it entirely.

Support for GPT-OSS Model in N/llm Module

The integration of the GPT-OSS model into the N/llm module allows developers to utilize advanced AI capabilities directly within NetSuite. This can enhance workflows, analytics, and other functionalities that benefit from machine learning insights.

Who This Affects

  • Developers: Greater capabilities and flexibility in script development.
  • Administrators: Enhanced administrative control over file uploads and script execution preferences.

Key Takeaways

  • The N/https module now supports binary file transfers.
  • New preferences have been added for SFTP file uploads.
  • Existing SuiteScript 2.0 scripts can run as SuiteScript 2.1.
  • The PATCH method is now available in N/http and N/https.
  • Support for the GPT-OSS model expands AI capabilities within NetSuite.

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

Frequently Asked Questions (4)

Can SuiteScript 2.0 scripts be executed as SuiteScript 2.1 in NetSuite 2026.1?
Yes, in NetSuite 2026.1, there is a new preference allowing users to execute SuiteScript 2.0 scripts as SuiteScript 2.1, making the transition smoother without the immediate need to rewrite scripts.
Is the PATCH HTTP method now supported in NetSuite's N/http and N/https modules?
Yes, developers can now use the PATCH HTTP method in both the N/http and N/https modules, facilitating partial updates in RESTful API integrations and streamlining workflows.
What new support does the N/llm module offer in NetSuite 2026.1?
The N/llm module now supports the GPT-OSS model, enhancing its capabilities in custom and standard SuiteScript tasks with advanced natural language processing functionalities.
Can Exception Management be utilized in Sandbox accounts in NetSuite 2026.1?
Yes, Exception Management is now available in Sandbox accounts, allowing developers to test and resolve issues before deploying to production, thus enhancing the development and testing process.

Weekly Update History (1)

Release Notesupdated

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