Custom Tool Script Enhancements in SuiteScript

Discover new SuiteScript features, including custom tool script enhancements and binary file support for improved integration.

·2 min read·6 views·View Oracle Docs

TL;DR: New enhancements in SuiteScript include improved custom tool scripting capabilities, binary file support for the N/https module, and options to execute SuiteScript 2.0 scripts as SuiteScript 2.1. These updates aim to streamline development and enhance integration capabilities.

What are the Custom Tool Script Enhancements?

SuiteScript has introduced several notable enhancements designed to improve the scripting experience for developers. These features not only aim to expand functionality but also enhance performance and ease of use in NetSuite.

Key Enhancements

  1. Custom Tool Script Enhancements: Enhancements simplify the integration of custom logic within your workflows, allowing more flexibility in how scripts interact with your business processes.
  2. Binary File Support for N/https Module: This feature allows developers to upload and manage binary files more efficiently, improving the ability to work with various file types directly within scripts.
  3. New Preference to Execute SuiteScript 2.0 Scripts as SuiteScript 2.1: This option enables developers to run existing SuiteScript 2.0 scripts in the newer SuiteScript 2.1 context, allowing for greater compatibility and performance enhancements.
  4. N/http and N/https Now Supports PATCH Method: This addition enhances the RESTful capabilities of SuiteScript by allowing developers to perform partial updates to records utilizing HTTP PATCH methods.
  5. Support for GPT-OSS Model in N/llm Module: Integration with the GPT-OSS model introduces advanced AI capabilities, enabling intelligent processing and suggestions in scripts.

Who This Affects

  • Developers: This update primarily impacts developers who utilize SuiteScript for customization and automation within NetSuite. The enhancements simplify coding practices while expanding the available functionalities.
  • System Administrators: Admins will benefit from enhanced integration capabilities, streamlining the deployment and management of custom scripts across environments.

Key Takeaways

  • Custom tool script enhancements offer greater flexibility in scripting.
  • Binary file support for the N/https module improves file handling.
  • Developers can execute older SuiteScript 2.0 scripts in a 2.1 context for seamless transitions.
  • The addition of HTTP PATCH support enhances API interfacing.
  • Integration with AI models like GPT-OSS enriches script capabilities.

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

Frequently Asked Questions (4)

What changes have been introduced for executing SuiteScript 2.0 scripts with NetSuite 2026.1?
NetSuite 2026.1 allows administrators to execute SuiteScript 2.0 scripts under the SuiteScript 2.1 framework, which can improve performance and provide access to the latest scripting features.
How have custom tool scripts been enhanced in NetSuite 2026.1?
Custom tool scripts now support execution logs viewable via the Script Execution Logs page, updates to SDF object definitions, and require entry functions for tool methods to be asynchronous.
Does the N/http and N/https module enhancements include support for any new HTTP methods?
Yes, the enhancements include support for the PATCH method, allowing for more versatile and efficient network interactions when updating resources on the server.
What changes have been made to role restrictions for Class, Department, and Location in NetSuite 2026.1?
The updated role restrictions now include unassigned values, providing more granular control over access rights on account records.

Weekly Update History (1)

Release Notesupdated

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