SSP applications can be written in both SuiteScript 1.0 and SuiteScript 2.0 but the two versions of SuiteScript cannot be combined in a single SSP application. Each SSP application can contain scripts written in either SuiteScript 1.0 or SuiteScript 2.0. The version of SuiteScript affects how the SSP applications are created, installed, and deployed. Note: Enabling… Continue reading SSP Applications (SuiteScript 1.0 Compared with SuiteScript 2.0)
Tag: and suitescript 1.0
Understanding SuiteScript 2.0 vs. SuiteScript 1.0
SuiteScript is a powerful JavaScript-based API used within NetSuite, a popular cloud-based ERP (Enterprise Resource Planning) platform. It enables developers to customize and automate business processes, integrating NetSuite with other applications and services. As businesses evolve, so do their technology needs. This has led to the development of SuiteScript 2.0, an updated version of the… Continue reading Understanding SuiteScript 2.0 vs. SuiteScript 1.0
Setting the Value of the Checkbox Field in Suitelet Script
if you’re setting a checkbox to something other than T or F (NetSuite’s accepted boolean values for checkboxes), it will result in error. Error: You have entered an Invalid Field Value false for the following field: custpage_jj_fil_activeError at Object.onRequest. So, make sure you are setting it to either ‘T’ (for true) or ‘F’ (for false).… Continue reading Setting the Value of the Checkbox Field in Suitelet Script
SSS_FILE_CONTENT_SIZE_EXCEEDED
The following error is thrown: ‘SSS_FILE_CONTENT_SIZE_EXCEEDED: The file content you are attempting to access exceeds the maximum allowed size of 10 MB’ for SuiteScript 1.0. This is a known error that is thrown if a file larger than 10 MB is uploaded via nlapiLoadFile() and its contents are read using any of the following methods: … Continue reading SSS_FILE_CONTENT_SIZE_EXCEEDED
Show Standard or express shipping methods based on the inventory item records in checkout.
Description: We can customize the shipping methods to show when the express inventory item is present in the order; if it is not present, we can show the standard shipping method using this solution. Dependency: custitem_jj_express_shipping // field id for determining if an item is an express shipping item or not. SuiteScript: define(‘JJ.Express.Shipping’ , [… Continue reading Show Standard or express shipping methods based on the inventory item records in checkout.
Transforming an SO to IF using Suitescript 1.0 and suitescript 2.0
This code will transform a sales order to itemfulfillment using suitescript 2.0 and 1.0