Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
SuiteWorld | October 25–28, 2026 | Las Vegas Where our community gets ready for what’s next!
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
how do i embed a link behind text in JS?
function afterSubmit(request, response){ // sends an email to the customer with PDF attached var customer = nlapiGetFieldValue('entity'); var email = nlapiLookupField('customer', customer, 'email'); /* var emailchoice = nlapiLookupField('customer', customer, 'custentityemail_invoice_checkbox_cust'); */ if (email != '' && email != null && customer=='23') { var recordid = nlapiGetRecordId(); var link = 'https://system.netsuite.com/app/site/hosting/scriptlet.nl?script=164&deploy=1&custparamso_id='+ recordid; var recordtype = nlapiGetRecordType(); var template = 29; // Invoice Template ID var mailRec = nlapiMergeRecord(template, recordtype, recordid); // Merge Template Internal Id 3 with Record var records = new Object(); // Create a new record object records['transaction'] = recordid; // Declaring a Transaction Record var attachment = nlapiPrintRecord('TRANSACTION', recordid, 'pdf', null); // Print the Merged Record as PDF var loadrecord = nlapiLoadRecord(recordtype, recordid); // Load the Record nlapiSendEmail(-5,
0