Boost your productivity and maximize your use of NetSuite with Training delivered by Education Services expert resources. Get started today with a free LCS Explorer Pass.


Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Attention: Customers with NetSuite Electronic Bank Payment (EBP) SuiteApp, version 2020.2 QA (ID 315896) must UPDATE (do NOT uninstall) their bundle to the Production version 2022.1 (ID 416781) by December 31, 2022. Note: If users fail to manually update the Electronic Bank Payments SuiteApp within the given time window, this version of the SuiteApp (ID: 315896) will be deprecated and the account will not be updated to Leading version (2022.1) of the Electronic Bank Payments SuiteApp. Please refer to the campaign email sent to impacted customers for more information.
Update your Profile with your Support type to get your Support Type badge.
Don't miss out on our Question of the Week! You only have until June 08, 2PM EST to comment your answers and earn rewards! Click here for more details.
Join the NetSuite Referral Program and get rewarded for introducing your peers to the NetSuite community. ⭐️
Don't miss out on our Pop Quiz! You only have until June 08, 10:20AM EDT to comment your answers and earn rewards! Click here for more details.
Drumroll please...registration for #SuiteWorld 2023 is now OPEN! See you in Las Vegas October 16-19 to celebrate 25 years of NetSuite with even more learning, more networking, and more fun! The show will sell-out (again), so grab that Early Bird $300 discount and reserve your spot today!

How to Create Custom Action via SuiteScript That Does Print, Print Label and Print Item Label in One

edited Mar 3, 2023 3:27PM in Ask A Guru 8 comments


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 ==;

        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'/app/accounting/print/' + id); // Standard Print Item Labels Button on Item Fulfillment

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!


This Week's Leaders

This Month's Leaders

All Time Leaders