We can upload files to the Azure server through API ‘PUT’ request in JavaScript. Follow the steps: Set up a remote server location in Azure Cloud Server. This can be done through the ‘Microsoft Azure Storage Explorer’ application by creating a blob container. Generate the upload link with the authorization parameter for the ‘Blob container’.… Continue reading Uploading files to Azure cloud server via API in JavaScript
Author: Derin Jose
Handle commas in a saved search result from the NSCONCAT function
Recently, I had to fetch some URLs and file names stored in a custom record related to another record. The challenge was to handle the commas inserted using the NSCONCAT function.My solution was to use the string.replace() function to replace commas in the file names with ‘%2C’ and URLs before concatenating the search result and… Continue reading Handle commas in a saved search result from the NSCONCAT function
How to create folders in a NetSuite account through SuiteScript
Folders in the file cabinet are helpful to keep files regarding specific customers or transactions in NetSuite. We can create these folders through the suite script as well.Folders in the file cabinet are a type of NetSuite records and can be created using the ‘record.create()’ function like any other records. Use the ‘N/record’ module for… Continue reading How to create folders in a NetSuite account through SuiteScript
How to avoid search result limit exceeding error in NetSuite saved search
NetSuite has a limit of 4000 results at a time for every saved search result execution (run function). If the search result returns more than 4000 results this can lead to a search limit exceeding the error.The error message will be: ‘SSS_SEARCH_FOR_EACH_LIMIT_EXCEEDED’: This error can be avoided by using a paging function for running the… Continue reading How to avoid search result limit exceeding error in NetSuite saved search
How to run an existing NetSuite Integration React WebApp project in a new system
We might need to edit or update an existing NetSuite Integration React WebApp project in a new system. Here are the steps for that: Clone the repository in VS Code. Choose the correct repository branch before cloning. Open the project directory in cmd. Make sure the correct Node Virtual Machine is installed. Use ‘nvm install… Continue reading How to run an existing NetSuite Integration React WebApp project in a new system
How to show saved search results based on a field value inside a custom record
We can show Saved search results in a custom record. Follow these steps: We have to make a saved search with the required criteria. Now go to the subtab: ‘Available filters’ and add a new filter that needs to be used for checking with the value from the custom record field. Enable the ‘Show in… Continue reading How to show saved search results based on a field value inside a custom record
How to implement a script library file in NetSuite
We can store global variables and functions inside a script library file in NetSuite. This helps to easily use a function or variable in multiple script records without defining the same for each record. For example, we can store global variables such as email addresses and commonly used functions inside a library file and access… Continue reading How to implement a script library file in NetSuite
How to fix a Restlet request error in Postman while testing
Check if the Restlet URL used is correct compared with the Restlet script record ‘External URL link’ field value. Check if the Request type is correct(GET/POST/PUT…) Check if correct values are used for consumer key, consumer secret, access token, and token secret.We can create a new integration in NetSuite through navigation: SetUp > Integration >… Continue reading How to fix a Restlet request error in Postman while testing
NetSuite Transaction Status Search Filters
Here are some internal ids of different NetSuite transaction statuses. Couldn’t find these on ‘NetSuite Help’, so adding these from a website.These values are really useful for understanding an already created saved search filters used inside suitescript. Note: Be aware that statuses of the transaction can change in the future so before using please make… Continue reading NetSuite Transaction Status Search Filters
Adding note records or user notes to a record
Adding note records through UI We can add user notes or note records to NetSuite records such as employees, customers etc. This can be done through NetSuite UI by going to ‘Communication’ subtab and then ‘User Notes’ under the subtab. We can add a new subtab with a title and memo(description) values.Once a note record… Continue reading Adding note records or user notes to a record