I have some scripts to rename PDF file name and then create a custom button to download the PDF file of a transaction from NetSuite. It is based on the scripts supplied on this article – https://www.entartes.com/blog/workaround-netsuites-pdf-file-naming.
I have deployed this to several transaction types (quotes, sales orders, invoices, purchase orders etc. ) and it is working on all transactions except for Quotes. When clicking the custom button on a quote it is giving an error message that says “Failed to load PDF document”
Appreciate any help on this.