RE: Is there a way to combine two PDF’s into 1 document?
We have a client who would like the ability to print multiple PDF documents for related transactions in 1 “combined PDF” document. The use case here is wanting to print all Bills of Materials for related Work Orders from the Sales Order record.
While we could definitely go down the route of creating a Suitelet and a custom template to iterate through the Sales Order lines, get the work order internal ID’s, create a saved search for all work order details, create a JSON object and pass that into a custom template as the data source, we wanted to simplify things and break up the work! So our plan was to utilize the native work order PDF, in hopes that via script, we can render each Work Order template and “merge” them somehow.
Thank you in advance!
Use N/render in combination with the pdfset element.