Upload File from an Assistant Suitelet to NetSuite Using SuiteScript 2.0

In some cases users would like to upload files to NetSuite File Cabinet in order to use them later.  However, it is not always easy to understand how it should be done. For instance, user may experience issues deciding at what point of the script execution it should create a file object and save it… Continue reading Upload File from an Assistant Suitelet to NetSuite Using SuiteScript 2.0

Suitelet with Available Without Login not Sending Emails When External URL is Used on Test Accounts

Developers running into an issue where email.send(options) is triggered, but email is not sent when using External URL of the Suitelet and it sends email when internal URL is used on test drives, development accounts. It is important to note that on test, development accounts there Email Options for routing is set to Send Email to Logged in… Continue reading Suitelet with Available Without Login not Sending Emails When External URL is Used on Test Accounts

Extension to call suitelet file to approve SO

The approver can approve the sales order from the Approver detail page. We are created a suitelet to approve and decline the sales order. The request details is added below. it is a post request so pass the details in the body When approving or rejecting an orderĀ .To request the suitelet using the service controller… Continue reading Extension to call suitelet file to approve SO

There are no records of this type when using the suitelet URL.

When working with Suitelets in NetSuite, there are some reserved parameter names that you should avoid using to prevent conflicts with NetSuite’s internal functionality. Here are some reserved parameter names in Suitelet URLs: eidcplpopupsd_nodropscstickyprintemailqsistrdisplayonlynodisplaydeployscript To avoid conflicts, it is recommended to choose parameter names that do not overlap with these reserved names. For example, you… Continue reading There are no records of this type when using the suitelet URL.

Update Inventory Detail in SuiteScript

Update an Inventory Detail subrecord on an existing transaction through SuiteScript. When updating the Inventory Detail using client scripts, the method setCurrentSublistSubrecord throws the error: “NOT_SUPPORTED_ON_CURRENT_SUBRECORD”. Setting Subrecord values is currently not supported in client scripts since the subrecord object in this context is only available in view-mode. The solution is to update the Inventory… Continue reading Update Inventory Detail in SuiteScript