x/posted from advancedpdf. Does anyone know if it...
# suitescript
c
x/posted from advancedpdf. Does anyone know if it is possible to generate multiple customer statements into a single PDF using the N/render module? I am looking for behavior similar to the native "Print statements" page where it creates a singular document. I know how to do a single statement like this:
Copy code
var statement = render.statement({
  entityId: parseInt(customer),
  printMode: render.PrintMode.PDF,
  startDate: startDate,
  statementDate: statementDate
});
b
c
I see. So it looks like I'd have to save each statement object to the file cabinet first, and then generate the XML with the combined pdf's wrapped in <pdf> tag.
b
correct