When an error occurs while record creation in Netsuite via Restlet script, instead of suppressing it with try-catch modules we can selectively pass that error to build a custom error, and throwing that error will deliberately make the HTTP code to 400 bad Request.
Author: Sreelakshmi R
Modular Approach for Client Script
Main Script: Script deployed to the sales order record. Our new functionalities written as modules will be added to this consolidated client script. Module:
Restlet for creating Invoice
The following script creates invoice in Netuite based on the request values provided from Salesforce. Also these invoice will have a pay-by-link URL autogenerated( the script trigger the Adyen Bundle to generate the link)
Get any list id to use it as List/Record source type in select field of NetSuite SuiteLet script
While working on a SuiteLet form, have you ever faced problem on setting the exact source ID of a List/Record field. If so, you are not alone. Most of us might have faced such situation. I personally have faced this several times. Here is a small tip for you, so next time you won’t have… Continue reading Get any list id to use it as List/Record source type in select field of NetSuite SuiteLet script
Set Field Value from Suitelet Popup Called from Client Script
Scenario: A client side script on a transaction record calls a popup Suitelet that lets you search and select an item. After selecting the item from the Suitelet, it should then set the item to the line item of the transaction record. Solution: There should be data flow from Client script applied to Suitelet form… Continue reading Set Field Value from Suitelet Popup Called from Client Script
Remove NetSuite Sublist Button
Client script pageInit() and initLine() functions can use jQuery (automatically included by Netsuite) to find and remove the Remove button. Code Snippet:
Adjust the Size of a field in Suitelet form with the native Suitelet method
Issue: Usually, the standard size of the TEXT Type field and other types should be different when you simply add different types of fields in suitelet form with no special styling. So to make size corrections to make them all look alike. But met with a case where updateDisplaySize() not working in Suitelet. Solution: Strictly… Continue reading Adjust the Size of a field in Suitelet form with the native Suitelet method
Create a Promotion Feed
The Promotion Feed uses the Product Feed and Promotion Feed records to collect the necessary data for export. The mechanism for obtaining the data included in the promotion feed is identical to that of the Product Feed, with additional promotional information retrieved by the Promotion Feed record. You create a Promotion Feed record where you… Continue reading Create a Promotion Feed
NetSuite CPQ
NetSuite CPQ is a front-end sales solution that helps you automate, accelerate, and increase accuracy in the process of configuring, quoting, and ordering complex products and services by leveraging your business logic. By quoting and selling complex configurable items quickly, sales teams can improve customer experience and satisfaction while investing the saved time in enhancing… Continue reading NetSuite CPQ
Feednomics
Product Feeds This information refers to SuiteCommerce or the Aconcagua release of SuiteCommerce Advanced and later. A product feed contains a list of items and their attributes that can be used by third-party solutions for marketing purposes. You can use product feeds to advertise your products in marketplaces, shopping channels, and product comparison search engines.… Continue reading Feednomics