I would like to be able to print as a pdf the shipping label from an item fulfillment in SuiteScript code. I was hoping I could call nlapiPrintRecord and pass in the shipping label type but it doesn't appear that is an option. Has anyone done this? Basically, I want to call nlapiPrintRecord on a shipping label and email that as a file attachment to someone.
Thanks for the help.
Nathan