Browsed by
Category: Netsuite Tips

Suitescript 2.0 SFTP Tool

Suitescript 2.0 SFTP Tool

One of the new features of SuiteScript API 2016.2 is the ability to connect to SFTP Servers directly from Netsuite. Here are some downsides I found: Not way to list the contents of a remote directory <– This has been added No way of connecting using a private key. <– This has been added Not all SFTP servers are supported as Netsuite requires the server to support some encryption algorithms. No way of obtaining the server’s hostkey natively.   Unfortunately the…

Read More Read More

Suitescript 2.0 Quickstart Examples

Suitescript 2.0 Quickstart Examples

Here I will be posting the most used scripts from Suitescript 2.0. These code examples are meant for beginners to be a quick start so they can quickly get a script started and add their code to them. I tried to keep them short. If you are a beginner I recommend you to check Netsuite’s Help section and navigate to Suitescript 2.0 API so you can learn more about each.   Client Script

User Event Script

Scheduled Script

Read More Read More

11 Secret Suitescript 2.1 Features That Reptilians Don’t Want You To Know

11 Secret Suitescript 2.1 Features That Reptilians Don’t Want You To Know

Suitescript 2.1 is out of beta and beginning on 2021.1 release all Suitescript 2.x scripts will be running as Suitescript 2.1 so better test your existing scripts for any bugs. To change your scripts to use Suitescript 2.1 all you have to do is change this JSTag: From:

To:

It’s also worth mentioning that as of today Suitescript 2.1 is not available for client scripts yet so bear that in mind. “let” keyword: This is basically a super…

Read More Read More