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.
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:
| Feature | Description |
|---|---|
| New Preference for LIST | Enable LIST commands for SFTP file uploads |
| Execute Scripts as 2.1 | Run SuiteScript 2.0 as SuiteScript 2.1 |
| Binary File Support | Manage binary files through the N/https module |
| GPT-OSS Support | Integrate 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?
What new HTTP methods are supported in the NetSuite 2026.1 update for N/http and N/https modules?
How does the update in class, department, and location role restrictions affect security?
Is the GPT-OSS model available for use in all NetSuite accounts with the N/llm module?
Weekly Update History (1)
Updated link to the PDF file to point to v7. For the latest version, see NetSuite 2025.2 Release Notes.
View Oracle DocsWas this article helpful?
More in SuiteScript
- Scheduling Map/Reduce Script Submissions in NetSuite
Learn how to schedule map/reduce scripts for one-time or recurring submissions in NetSuite, enhancing automation and efficiency.
- API Governance Units Calculation in NetSuite 2026.1
NetSuite 2026.1 introduces examples illustrating API governance unit calculations for both user event and scheduled scripts.
- Binary File Support in N/https Module for SuiteScript
SuiteScript enhances capabilities with binary file support in the N/https module, allowing improved data handling in external communications.
- Attach and Detach Operations in NetSuite 2026.1
Attach and detach operations for record relationships in NetSuite enhance data management and connectivity.
