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.
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