Sample SuiteScript 1.0 to SuiteScript 2.0 and SuiteScript 2.1 Conversions
This help topic provides a example conversions of SuiteScript 1.0 scripts to SuiteScript 2.0 or SuiteScript 2.1 scripts. Each examples includes the SuiteScript 1.0 script on the left side and the SuiteScript 2.0/2.1 script on the right side.
Conversions for the following scripts are included:
-
Bundle installation script one: Confirm bundle installation, enable features, create account
-
Client script one: Set default fields values on a record
-
Client script two: Disable fields on a record
-
Client script three: Display user profile information
-
Mass update script one: Update fields on sales order and estimate records
-
Portlet script one: Build a simple portlet that posts data to a servlet
-
RESTlet script one: Using RESTlet get, post, put, and delete entry points and methods
-
Scheduled script one: Fulfill and bill sales orders each day
-
Suitelet script one: Create a simple form
-
User event script one: Implement end of month sales order promotions
-
Workflow action script one: Set the sales rep on the record in a workflow
-
Custom module script one: Create an item receipt from a purchase order
-
Custom module script two: Create and run a joined search
-
Custom module script three: Create CSV imports
Related Topics
- Transitioning from SuiteScript 1.0 to SuiteScript 2.x
- Overview of the Differences Between SuiteScript 1.0 and SuiteScript 2.x
- Differences Between SuiteScript 1.0 and SuiteScript 2.x Script Types
- SuiteScript 1.0 APIs Not Directly Mapped to a SuiteScript 2.x Module
- Differences in Similar SuiteScript 1.0 and SuiteScript 2.x Capabilities
- Converting a SuiteScript 1.0 Script to a SuiteScript 2.x Script