Custom Tool Script Enhancements in NetSuite SuiteScript

Discover the latest enhancements for custom tool scripts in NetSuite SuiteScript, aimed at improving script functionality and efficiency.

·2 min read·5 views·View Oracle Docs

Starting in February, NetSuite's SuiteScript introduces several enhancements to custom tool scripts, refining features that help developers create more robust and efficient applications. Key improvements include support for binary file uploads, the execution of SuiteScript 2.0 scripts as SuiteScript 2.1, and expanded capabilities with the N/http and N/https modules.

Key Enhancements Overview

  • Binary File Support for N/https Module: This enhancement allows for the handling of binary files through the N/https module, thus broadening the scope of files that can be uploaded and processed via SuiteScript.
  • New Preference for SFTP File Uploads: Users can now set preferences to utilize LIST commands during SFTP file uploads, enhancing control and integration capabilities.
  • Execute SuiteScript 2.0 as SuiteScript 2.1: Scripts written in SuiteScript 2.0 can now be executed as if they were written in SuiteScript 2.1, providing access to improved functionalities and performance enhancements.
  • N/http and N/https Support for PATCH Method: The newly added PATCH method allows for more versatile data manipulation during HTTP requests, making it easier to update resources.
  • Support for GPT-OSS Model in N/llm Module: This feature introduces the ability to integrate advanced language models into NetSuite applications, driving innovation in how data is processed and interpreted.

These enhancements reflect a significant step toward expanded functionality and flexibility within the NetSuite ecosystem, enabling developers to create more sophisticated scripts and integrate them seamlessly into existing workflows.

Who This Affects

  • Developers utilizing SuiteScript
  • Administrators overseeing script management and deployment
  • Users implementing custom solutions within NetSuite

Key Takeaways

  • Improved script performance with new execution preferences.
  • New binary file support expands file handling capabilities.
  • Enhanced HTTP method support allows for greater data manipulation.
  • Integration of advanced language models to improve data handling.

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

Frequently Asked Questions (4)

How can I enable the preference to execute SuiteScript 2.0 scripts as SuiteScript 2.1?
The article introduces this as a new preference, but it doesn't specify the exact steps to enable it. You may need to check NetSuite's documentation or interface settings for this option.
What new HTTP methods are supported in the N/http and N/https modules?
The PATCH method has been added to both the N/http and N/https modules, facilitating updates to resources while preserving specific record attributes.
Does the introduction of the GPT-OSS model affect existing AI scripts?
The article mentions new support for the GPT-OSS model in the N/llm module but doesn't detail its impact on existing scripts. Developers may need to test and validate existing integrations.
Is Exception Management now usable in sandbox environments?
Yes, Exception Management is now supported in sandbox accounts, enhancing testing and monitoring capabilities for developers.

Weekly Update History (1)

Release Notesupdated

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