Custom Tool Script Enhancements in NetSuite

Discover new Custom Tool Script enhancements in NetSuite, including binary support and script execution preferences.

·2 min read·1 views·View Oracle Docs

TL;DR Opening: New updates to Custom Tool Scripts in NetSuite improve functionality for developers through added support and preferences, enhancing integration and script execution efficiencies.

What’s New in Custom Tool Scripts Enhancements

NetSuite has introduced significant enhancements to Custom Tool Scripts that expand their capabilities. These updates aim to streamline script execution and improve integration processes within the platform.

Key Enhancements

  1. Binary File Support for N/https Module: This update allows for binary file handling when using the N/https module, enhancing data transmission capabilities.
  2. New Preference for SFTP File Uploads: Users can now set preferences to utilize LIST commands when uploading files via SFTP, providing greater control and flexibility.
  3. Execution of SuiteScript 2.0 Scripts as SuiteScript 2.1: This feature allows users to run older SuiteScript 2.0 scripts in a 2.1 environment, ensuring compatibility and smoother transitions between script versions.
  4. Support for PATCH Method in N/http and N/https: This enhancement introduces the PATCH method in both the N/http and N/https modules, boosting the API's functionality for developers.
  5. Support for GPT-OSS Model in N/llm Module: The addition of this support allows for more advanced AI integration, facilitating enhanced functionalities within scripting.

These enhancements collectively improve developers' workflows and broaden customization options within NetSuite, making it more versatile for various business needs.

Who This Affects

  • Developers: Enhanced capabilities provide developers with more tools for customization.
  • Integrators: Those involved in system integrations will benefit from improved support for varying data types.
  • Administrators: Administrators responsible for maintaining scripts will find the updates beneficial for version control and compatibility.

Key Takeaways

  • New support for binary files in N/https improves data handling.
  • Flexibility increases with LIST command preference for SFTP uploads.
  • Compatibility between SuiteScript versions enhances usability in transition phases.
  • Expanded API functionalities with PATCH method support.
  • Advanced AI features integrated through GPT-OSS model support.

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

Frequently Asked Questions (4)

How can I enable the execution of SuiteScript 2.0 scripts as SuiteScript 2.1 in NetSuite 2026.1?
Administrators can enable the execution of SuiteScript 2.0 scripts in a SuiteScript 2.1 environment under the script deployment settings.
What new method support has been added to the N/http and N/https modules in NetSuite 2026.1?
NetSuite 2026.1 introduces support for the PATCH method in both the N/http and N/https modules, allowing partial updates of resources.
Are the new SuiteScript 2.1 execution preferences available in all NetSuite editions?
The article does not specify if the SuiteScript 2.1 execution preferences are available in all NetSuite editions.
What improvements have been made to script logging in NetSuite 2026.1?
NetSuite 2026.1 updates include access to execution logs for monitoring script performance and structured logging for easier troubleshooting.

Weekly Update History (1)

Release Notesupdated

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