Step 1: Authenticate with NetSuite
- Open the Command Palette (
Ctrl + Shift + P). - Search for “SuiteCloud: Set Up Account” and select it.
- Choose “Add New Authentication ID” and follow the prompts to authenticate your NetSuite account.
Step 2: Create an SDF Project
- Open the Command Palette (
Ctrl + Shift + P). - Search for “SuiteCloud: Create Project” and select it.
- Enter a Project Name and choose a Project Type:
- Account Customization (for general script updates)
- SuiteApp (for bundle development)
- Choose a folder where the project will be created.
Step 3: Import Existing Scripts from NetSuite
- Open the Command Palette (
Ctrl + Shift + P). - Search for “SuiteCloud: Import Files from Account” and select it.
- Choose “File Cabinet” and navigate to the script file(s) you want to import.
- Select the script(s) and confirm the import.
- The scripts will be downloaded into your /FileCabinet/SuiteScripts/ folder in the project.
Step 4: Validate the Imported Files
- Open the Command Palette (
Ctrl + Shift + P). - Search for “SuiteCloud: Validate Project” and run it.
- If errors appear, resolve them before proceeding.
Step 5: Deploy the Imported Scripts to NetSuite
- Open the Command Palette (
Ctrl + Shift + P). - Search for “SuiteCloud: Deploy Project” and select it.
- If you want a preview first, run “SuiteCloud: Deploy Project”.
- Confirm deployment and wait for it to complete.
Step 6: Verify in NetSuite
- Log in to NetSuite.
- Go to Customization > Scripting > Scripts.
- Check if the imported scripts appear under File Cabinet > SuiteScripts.
- If needed, associate them with Script Records and Deployments.