Accessing email data send from email plugin inside Suitelet script

The data can be send to a suitelet from a email capture plugin implementation javascript file using ‘POST’ method.If the suitelet is triggered in ‘POST’ method, we can access this data.The data transferred using ‘POST’ method will be inside ‘scriptContext.request.body’. Since this is transferred as JSON file, the first step on using the datais to… Continue reading Accessing email data send from email plugin inside Suitelet script

Case pack quantity updation with the sales order line quantity

Requirement: In the sales orders, we can enter any number of item line quantities. But from the client business perspective, they need to control the quantity based on the item case pack. The quantity should be multiples of the case pack number and if the quantity is not a case pack multiple we need to… Continue reading Case pack quantity updation with the sales order line quantity

Validate/Update Case pack quantity with the sales order line quantity

Scenario: In the sales orders, we can enter any number of item line quantities. But from the client business perspective, they need to control the quantity based on the item case pack. The quantity should be multiples of the case pack number and if the quantity is not a case pack multiple we need to… Continue reading Validate/Update Case pack quantity with the sales order line quantity

Script to replace Accented characters and remove Special Characters from a field

In order to do so, the script concerning the Field needs to be changed and should contain the following: 1. Get the value of the desired field through objRecord.getValue() 2. Replace all characters with accents to their corresponding letters 3. Remove all special characters 4. Set the new value of the desired field through objRecord.setValue()… Continue reading Script to replace Accented characters and remove Special Characters from a field

Email Capture Plugin Implementation

Email Capture Plugin ImplementationWe can implement email capture functionality in NetSuite account to capture emails inorder to create email message records or use email content data.This is possible if the account already has email capture plugin installed. A email capture plugin file can be created in javascript and uploaded to NetSuite account using theplugin installed.… Continue reading Email Capture Plugin Implementation