set the customer subsidiary based on the domain using extension

When a user registers from AU domain, the subsidiary of the user should be set to AU When a user registers from NZ domain, the subsidiary of the user should be set to NZ When a user registers from US domain, the subsidiary of the user should be set to Us JavaScript Entry point file… Continue reading set the customer subsidiary based on the domain using extension

Send order approve email using workflow.

Send order approve email using workflow.Email content should be different for each subsidiary. Create a work flow which triggered when order approved in net suite. Here we can set event definition as view or update. We can give conditions in actions.We can give sender and recipient details .Also we can give custom email template or… Continue reading Send order approve email using workflow.

Read a file in node js

The fs.readFile() method is an inbuilt method which is used to read the file. This method read the entire file into buffer. To load the fs module we use require() method. For example: var fs = require(‘fs’); Syntax: fs.readFile( filename, encoding, callback_function ) Parameters: The method accept three parameters as mentioned above and described below:… Continue reading Read a file in node js

Create a tab Notification Centre with messages list inside it in customer record

Solution First create a subtab Notification Center in the customer record Navigate customization->Forms->subtab     Entity->Notification Centre  Then created a custom record for notification with a field message,message subject and date and set its parent as the customer. Navigate customization->list,record and field ->Record Type Notification Navigate to the notification tab in the customer record where we… Continue reading Create a tab Notification Centre with messages list inside it in customer record