Hi all,
So I created one button on PO, from which we can download PO's attachments using this link.
In above link, it shows how to create Zip file and download the attachment in that zip.
Now, what I want is to download attachments of multiple POs as shown in below image.

As per my code, it runs twice for both the POs which is shown in the info message.
But it downloads only one zip file and it's attachment of the last PO selected.
I debugged the code, it's working fine, no errors. Still I am not able to get both zip files.
What could be the issue? Any suggestions?
Thanks & regards,
Bhagyashree Dave