Payment Email sending script for Customers without Terms

/** * @NApiVersion 2.1 * @NScriptType UserEventScript */define([‘N/email’, ‘N/record’, ‘N/render’, ‘N/runtime’, ‘N/search’], /** * @param{email} email * @param{record} record * @param{render} render * @param{runtime} runtime * @param{search} search */ (email, record, render, runtime, search) => { const afterSubmit = (scriptContext) => { try { if (scriptContext.type === scriptContext.UserEventType.CREATE) { let currentRec = scriptContext.newRecord; log.debug(“record Id”,… Continue reading Payment Email sending script for Customers without Terms

Adding Freezing Header for Sales Orders

Scenario: Sales Orders have item sublist Table, which lists items in each SO. If the number of items becomes too large, we need to scroll the table down, which will also scrolls the table header too. Make this table header freeze and make other details scrollable. Solution: It needs a User Event script. In it’s… Continue reading Adding Freezing Header for Sales Orders

Order to Cash process Automation.

We have automated an Order to cash process in Netsuite. The Process is as follows: 1)Created Sales orders in Netsuite Via CSV import(Inventory lot number for items are set in CSV file by client)2)On sales order creation an Item Fulfillment is generated via script2)On IF generation invoice/cash sale is generated via script Git link: https://github.com/Jobinandjismi/Second_Source_Rx/tree/swapna-JJ0151