I'm using `_render_.pickingTicket()` which returns...
# suitescript
e
I'm using
_render_.pickingTicket()
which returns a file, but I'm looking to render multiple picking tickets and get them into one file (PDF), is this possible?
b
e
I've looked into this quite a bit but still haven't connected the dots on how I can utilize it to merge the picking tickets. Per the help docs, render.PickingTicket() returns a file.File Can I somehow pull "<pdf>....." out of that file.File and then string them all together in a new file?
b
there are 2 ways to use pdfsets
a pdf element with a src attribute
and an actual pdf element with a body and all that stuff
using a pdf element with a src means getting urls to your files
using an actual pdf element means making a new template and rendering with your own data
e
Ahh, so you're saying I would need to save each of the picking tickets, then create a "all picking tickets" PDF with pdfset that uses the saved picking tickets URL as the src, then save that file?
b
you have 2 approaches you can take
that can do one of them