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.
Concatenate PDF files
Is there any way in Netsuite to Concatenate PDF Files together? I have 100 PDFs in a folder, that I want to concatenate together into one large File. I wanted to create a script to easily do that to build into the file cabinet. I have a workflow that can create a bunch of pdfs easily, just not together. Any Ideas?
function(record, file, render) { function onAction(scriptContext) { var objRecord = scriptContext.newRecord; var invoicePdf = render.transaction({ entityId: objRecord.id, printMode: render.PrintMode.PDF }); invoicePdf.folder = 5169576; invoicePdf.save(); } return { onAction : onAction }; }); 0