Skip to main content
Question

Merging Attachments into a PDF to link to a report

  • March 20, 2026
  • 4 replies
  • 47 views

Forum|alt.badge.img

Hi all,

 

I am looking for a way to merge all the attachments for the transactions (for e.g., and AP Bill) showing up on AP Edit Detailed report into a PDF and link it on the same report against respective transactions.

 

Please let me know if you have any suggestions/ alternatives for this. Appreciate your time!

4 replies

Samvel Petrosov
Jr Varsity III
Forum|alt.badge.img+9

Currently the way to do this is to develop a customization that would run your report (AP Edit Detailed), convert it to a PDF and merge the other attachments.


jhalling52
Jr Varsity I
Forum|alt.badge.img
  • Jr Varsity I
  • March 20, 2026

I would recommend voting for a similar product idea if you haven’t already:

 When emailing an invoice automatically attach all attached files | Community

 


meganfriesen37
Captain II
Forum|alt.badge.img+13

We did something like this with a customization for a customer of ours.  It does slow down the invoice processing time due to having to fetch all the PDFs and we had to do some fancy linking back through allocation rules I think.


KrunalDoshi
Varsity I
Forum|alt.badge.img
  • Varsity I
  • March 20, 2026

Hi ​@rjasani64,

There is no OOB solution for this. You will have to write a custom logic to achieve this. You can use 

PXNoteAttribute.GetFileNotes

and loop through each line in your AP Bill transaction and use .Net Library iTextSharp or iText7 or any other third-party PDF creation/merging tool, to later merge the contents of these files into one and create PDF along with your AP Edit Detailed (AP610500) report. Hope this helps.