How to send email using nodemailer and nodejs

Nodemailer is the Node.js npm module that allows you to send email easily.  Install nodemailer npm install nodemailer Include the nodemailer module in the code using require(‘nodemailer’). Use nodemailer.createTransport() function to create a transporter who will send mail. It contains the service name and authentication details (user ans password). Declare a variable mailDetails that contains… Continue reading How to send email using nodemailer and nodejs

Create Site maintenance page

To display a maintenance page when WS is taken for maintenance and at the time of NetSuite scheduled maintenance.Jira Code:230 Requirement A site maintenance domain needs to be displayed under the below conditions. When Netsuite is down. While enabling the checkbox “Take website offline for maintenance“. Solution Navigate to setup>site builder>site maintenance domain. In SITE… Continue reading Create Site maintenance page

Assign sales rep to sales order item line.

Automating the value of the sales rep in the sales order item line. The sales rep will be identified based on the customer territory and the item’s brand value setup in the custom record. Requirements Is there any way to automate this using sales rules? The scenario will be the customer is located in a… Continue reading Assign sales rep to sales order item line.

Create a 404 page and create redirections for those items which are not available

We have to create a landing page for items that are no longer available. The items which are no longer available were redirected to a empty page.Now,the items that are redirected to the empty page will redirect to this landing page with the URL of the landing page. Procedure to create a new landing page… Continue reading Create a 404 page and create redirections for those items which are not available

UPDATING PURCHASE ORDER ITEM QUANTITY ON THE BASIS OF THE SAVED SEARCH PENDING QUANTITY VALUE

This proposal covers the scope of updating the purchase order item quantity on the basis of the saved search pending QTYS column value. Requirement Create a script that takes that item and subtracts the quantity from the “Pending Qty” column. So, if the order is 5 and the pending qty is 1, You delete one… Continue reading UPDATING PURCHASE ORDER ITEM QUANTITY ON THE BASIS OF THE SAVED SEARCH PENDING QUANTITY VALUE