后端与数据库

netsuite-suitescript-upgrade

oracle/netsuite…loud-sdk

SuiteScript 1.0, 2.0, and 2.x to 2.1 migration assistant. Analyzes, converts, explains, and validates script upgrades. Covers 125+ API mappings, 34 object conversions, 13 unmapped API workarounds, all script type entry point changes, SuiteScript 2.0/2.x to 2.1 upgrade guidance, and 16 categories of breaking behavioral changes. Essential for modernizing legacy SuiteScript codebases.

  • 809 次安装
  • 367 星标
  • 收录于

安装命令

npx skills add https://github.com/oracle/netsuite-suitecloud-sdk --skill netsuite-suitescript-upgrade

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