netsuite-suitescript-upgrade
Installation
SKILL.md
NetSuite SuiteScript Upgrade Skill
Created by: Oracle NetSuite
Description
Complete SuiteScript 1.0, 2.0, and 2.x to 2.1 migration assistant with 4 operating modes: analyze, convert, explain, and validate. SuiteScript 2.1 is always the target version. This skill provides:
- Analyze Mode: Scan SS1.0, SS2.0, and SS2.x scripts and produce migration complexity reports
- Convert Mode: Transform SS1.0, SS2.0, and SS2.x scripts to SS2.1 with full API mapping and JavaScript modernization
- Explain Mode: Deep dive into specific API mappings, objects, or migration concepts for a full SS2.1 conversion
- Validate Mode: Check converted scripts for leftover 1.0 patterns, non-2.1 version tags, and common conversion bugs
Backed by comprehensive reference data:
- 125+ API function mappings (nlapi* → N/* modules) across 26 modules
- 34 object conversions (nlobj* → SS2.1 classes) with 331 method mappings
- 13 unmapped APIs with native JavaScript or alternative workarounds
- All script type entry point changes (User Event, Client, Suitelet, RESTlet, Scheduled, Map/Reduce, etc.)
- 16 categories of breaking behavioral changes with before/after examples