Custom Tool Script Enhancements and New Preferences in

Explore the latest enhancements and new preferences for custom tool scripts in NetSuite, improving functionality and flexibility.

·2 min read·5 views·View Oracle Docs

Starting in 2026.1, enhancements have been made to custom tool scripts within NetSuite, focusing on improving functionality and user flexibility. These updates include new preferences for execution methods and expanded support for file handling in scripts, thus optimizing the user experience for developers.

What’s New in Custom Tool Scripts?

New Preference to Use LIST for SFTP File Uploads

Developers can now set a new preference that enables the use of LIST commands for uploading files via SFTP. This enhancement simplifies the file management process by allowing more efficient file transfers and directory handling directly within the script.

Execute SuiteScript 2.0 Scripts as SuiteScript 2.1

A notable improvement is the ability to execute SuiteScript 2.0 scripts as SuiteScript 2.1. This backward compatibility allows developers to leverage newer features while maintaining older scripts. It significantly reduces the time required for migration and adaptation to newer standards.

Binary File Support for N/https Module

The N/https module has been updated to support binary file handling, which broadens its applicability for developers. This functionality is essential for scenarios where scripts need to manage binary data effectively, such as images or document files.

Support for GPT-OSS Model in N/llm Module

Integration of the GPT-OSS model into the N/llm module demonstrates NetSuite's commitment to evolving with AI technologies. This feature enables developers to harness advanced language models for enhanced data processing and automation capabilities.

Here's a summary of these enhancements in the custom tool scripts:

FeatureDescription
New Preference for LISTEnable LIST commands for SFTP file uploads
Execute Scripts as 2.1Run SuiteScript 2.0 as SuiteScript 2.1
Binary File SupportManage binary files through the N/https module
GPT-OSS SupportIntegrate AI model for advanced processing

Who This Affects

  • Developers: Those who create and maintain custom scripts using SuiteScript, as well as those integrating complex functionalities with external systems.
  • Administrators: Users overseeing the use of scripts and tool execution for operational management.

Key Takeaways

  • Improved File Management: The addition of LIST commands enhances SFTP handling.
  • Backward Compatibility: Running older SuiteScripts in newer execution contexts eases migration efforts.
  • Expanded Binary Support: Developers can now easily handle binary files in their scripts.
  • AI Integration: Access to advanced AI models enhances data processing efficiency.

Frequently Asked Questions (4)

Can I run SuiteScript 2.0 scripts with SuiteScript 2.1 features without rewriting them?
Yes, in NetSuite 2026.1, you can execute SuiteScript 2.0 scripts using the features of SuiteScript 2.1, improving performance and feature access without rewriting the scripts.
What new HTTP methods are supported in the NetSuite 2026.1 update for N/http and N/https modules?
The PATCH method is now supported in the N/http and N/https modules, allowing developers to make partial updates in RESTful services for more flexible integration scenarios.
How does the update in class, department, and location role restrictions affect security?
The update now includes unassigned values for class, department, and location in role restrictions for account records, enhancing security and access management within NetSuite accounts.
Is the GPT-OSS model available for use in all NetSuite accounts with the N/llm module?
NetSuite 2026.1 supports the GPT-OSS model in the N/llm module, enabling advanced AI functionalities for developers, but it's important to consult specific module availability based on your account setup.

Weekly Update History (1)

Release Notesupdated

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