Sent to PDF Multiple sales invoice

I have a requirement to print the multiple sales invoice to one PDF. customer wants to select multiple Posted sales invoice from list page to generate the PDF. i think i need to use setselectionfilter and sendtoPDF function. Please suggest some sample code to develop the above functionality.

Hi Shyamkumar,

Please tell us what you have tried so far. Your own suggestion sounds fine to me, that’s also how I would do it. When you apply the filter and run the report, then it will out of the box only create one PDF.