Commerce Migration to SuiteScript 2.0

This topic applies to

Applies to

SuiteCommerce | SuiteCommerce Advanced

SuiteCommerce Advanced is undergoing an initiative to improve the developer experience when developing a SuiteCommerce Advanced site. These improvements will ultimately enable Commerce application developers to interact with core NetSuite records in a unified way, leveraging the benefits of SuiteScript 2.0.

This change is being introduced in phases across multiple releases of SuiteCommerce and SuiteCommerce Advanced. When completed, this new approach will:

  • Leverage the benefits of SuiteScript 2.0

  • Provide developers a single, unified experience to interact with core NetSuite APIs

  • Eliminate duplication of business logic within the Commerce API

  • Eliminate the need to access the Commerce API

Migration Status

This section explains the current state of the SCA migration to SuiteScript 2.0. Because this migration spans multiple releases, check this topic periodically for status updates and a list of what modules have been migrated.

Migration Updates (by release)

SCA Release

Description of Changes

Modules Migrated to SS 2.0

New Modules

2019.1

Added SSP Application support for SuiteScript 2.0 for implementations utilizing the SuiteTax feature.

During this release of SuiteCommerce and SCA, this was required for anyone using the SuiteTax feature.

None

None

2019.2

  • Partial Module Migration to Unified Developer Experience

  • Initial implementation of My Account backend components (Service Controllers)

  • Updated some modules for SuiteScript 2.0 migration to TypeScript

  • Expanded SSP Application support for SuiteScript 2.0. This change impacts all Commerce web store SuiteApp installation and setup procedures.

    See Install Your Commerce Web Store Applications for details.

Case

Subscriptions (Limited Release)

2020.1

  • Continued Module Migration to Unified Developer Experience

  • Continued implementation of My Account backend components (Service Controllers)

  • Updated some modules for SuiteScript 2.0 migration to TypeScript

OrderHistory

ReturnAuthorization

StoreItem

Transaction

TransactionHistory

None

Note

Modules that have been migrated to SuiteScript 2.0 are located in the Backend directory of the SCA source code: <SC_xxx/Backend/SC/ (where xxx refers to the release). If your current SCA implementation includes customizations to these modules, you can review changes to the code base and adjust your customizations as needed to ensure continued functionality. However, if you are developing extensions, attempts to import or include migrated modules in your customization will produce runtime errors.