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?
Code:
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
};
});
This is a cached copy. Click here to see the original post.