Follow

NetSuite Extraction Scripts Upload and Deployment

If your company does not allow a third party to install the scripts to your Netsuite instance, you or your Netsuite admin may install them. Please note that the integration will take longer to deploy since there could be adjustments made to the scripts to accomodate the level of customization and special requirements in your Netsuite deployment. With each update you or your admin will be required to upload each new script thereby disallowing quick adjustments and fixes made to the integration as needed.

1. Navigate to Documents→ Files→ Suitescripts as shown below

Navigate to Documents→ Files→ Suitescripts as shown below

2. Create new folder  in SuiteScripts click Create Folder Button

Create new folder  in SuiteScripts click Create Folder Button

3. Name the folder DemandCaster as shown below and click Save at the bottom of the page

Name the folder DemandCaster as shown below and click Save at the bottom of the page

4. Click Advanced Add in SuiteScripts view

Click Advanced Add in SuiteScripts view

5. Click Choose File and select DemandCaster.zip

For Destination Folder choose DemandCaster.

Make sure you check Unzip Files and Overwrite Files With Same Name.

Click Add when all is done

Click Choose File and select DemandCaster.zip

6. Navigate to Customization→Scripting→ Scripts→New

Navigate to Customization→Scripting→ Scripts→New

7. Create script record

In Upload Script File view select the file for the script you want to create (files are now located in DemandCaster folder created earlier) and click Create Script Record

Create script record

8. Choose RESTlet

Choose RESTlet

9. Enter name of script

Type Name for the script (usually with DemandCaster_ prefix, e.g. DemandCaster_Customer).

In Get Function enter the name of the function in the script you are creating. You can see the name of the function when you open the corresponding file in DemandCaster.zip with Notepad. In the example below the name is getCustomers

Enter name of script

9.1. Function name

Function name

10. Click Unhandled Errors and make sure you uncheck Notify Script Owner

Click Unhandled Errors and make sure you uncheck Notify Script Owner

11. Save and Deploy

After everything is filled correctly click on the arrow next to the Save text on the Save button at the bottom of the page and choose Save and Deploy

Save and Deploy

12. In Script Deployment view change status to Released. In Audience subtab choose everything and click Save

In Script Deployment view change status to Released. In Audience subtab choose everything and click Save

13. You will get an External URL for that deployment. Please send us that URL with the name of the corresponding script.

You will get an External URL for that deployment. Please send us that URL with the name of the corresponding script.

14. Repeat steps 6 through 13 until all the scripts are deployed

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk