Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
We’re excited to announce that the 2025 Community Recap is now available! This special recap highlights the amazing contributions and achievements of our members over the year and celebrates the collective success of our community.
Check your personalized recap to see the impact you made in 2025 and how your efforts helped shape our community’s growth and success.
View Your 2025 Community Recap
Thank you to everyone for your passion, collaboration, and support. Here’s to building an even stronger community together in the year ahead!
How to Create Custom Action via SuiteScript That Does Print, Print Label and Print Item Label in One
Hi.
I tried to do this mentioned in the SuiteAnswers with the ID 92846, The but I am getting an error
I tried used the two SiuteScripts versions and get the same error. I slight modified the script for the version 2.0 as you see here:
/**
* @NApiVersion 2.x
* @NScriptType ClientScript
*/
define(['N/record'], function(record) {
function printMeNow() {
var id == record.id;
show_preview(document.forms['main_form'].orderid.value, id); //Standard Print Button on Item Fulfillment
print_shipping_label(document.forms['main_form'].orderid.value, id); //Standard Print Label Button on Item Fulfillment
window.open('/app/accounting/print/barcodeprinter.nl?trantype=itemfulfillment&tranid=' + id); // Standard Print Item Labels Button on Item Fulfillment