This error is thrown if a single execution of a server-side script or application has taken longer than its limit. The following table lists the prescribed time limits for each script type or application: Script Type/Application Time Limit(s) Adjust Consolidated Rates 3600 App Package Installation 3600 Bundle Installation script 3600 Custom GL Lines Plug-in 30 Mass… Continue reading Script Error SSS_TIME_LIMIT_EXCEEDED
Author: Sophia Yougin
Loading image in Netsuite records
Button using inline html
Default value<html> </br><input type=”button” value=”Upload CSSR File” id=”b1″ onclick=”window.open(“”, ‘_blank’,’mywindow’,’menubar=1,resizable=1,width=350,height=250′);” style=”background-color: #607799; border: none; color: white; padding: 5px 11px; text-align: center; text-decoration: none; display: inline-block; font-size: 14px; cursor: pointer;” onmouseover=”this.style.backgroundColor=’#405c73′;” onmouseout=”this.style.backgroundColor=’#607799′;”></br></html>
Sublist using a custom record
On Custom Records, the sublist for the child record is uneditable on the line level by default. Follow the steps below to implement a Custom Record with an editable sublist for its child record. Create Custom Record Type – A which serves as the Parent:For more information, see article 10140 – Creating Custom Record TypesMake… Continue reading Sublist using a custom record
Error while uploading the private key file in NetSuite
When attempting to upload the Private Key ID in our Production account, we are encountering an error issue. Reason and Solution :Currently, OpenSSH format for private keys are not supported. One can only use the PEM format.To resolve the error, one must convert the PrivateKey.ppk to a PEM format, and try the same steps from… Continue reading Error while uploading the private key file in NetSuite
How the let, const, and var Keywords Work in JavaScript
In JavaScript, we can declare variables in three different ways like this: It is best when you understand var, let, and const with these three concepts: Scope Reassigning a new value When you access a variable before declaring it These keywords differ in usage with respect to these concepts. Variable Scope in JavaScript In JavaScript,… Continue reading How the let, const, and var Keywords Work in JavaScript
Call SuiteScript 2. x Scripts from SuiteScript 1.0 Scripts
If converting your SuiteScript 1.0 scripts to SuiteScript 2. x is not feasible in your situation, you can use SuiteScript 2. x to develop any new functionality within a RESTlet and call the RESTlet from your SuiteScript 1.0 script using the nlapiRequestRestlet() function. This approach lets you take advantage of the features, APIs, and functionality… Continue reading Call SuiteScript 2. x Scripts from SuiteScript 1.0 Scripts
Getting Results of Saved Search using REST API
Scenario: One of my clients inquired if there is a method to retrieve results from a saved search in the REST API and couldn’t find any direct API that we can use to obtain results of the saved search in NetSuite. However, I was able to find an alternative method to accomplish this. We can… Continue reading Getting Results of Saved Search using REST API
New Methods in N/https Module
You can now use the N/https module to communicate between SuiteScript scripts and Suitelet using thefollowing new methods: https.requestSuitelet(options) Sends an HTTPS request to a Suitelet and returns the response. Use this method to perform an outbound HTTPS request in an anonymous client-side context. You can do this by performing the HTTPS request inside a… Continue reading New Methods in N/https Module
Funnel Report – Sales
Scenario A funnel report in sales is a visual representation of the various stages that potential customers go through in the process of becoming paying customers. It is called a “funnel” report because, much like a traditional funnel, it illustrates how a larger number of leads or prospects at the top gradually narrow down as… Continue reading Funnel Report – Sales