Notifications
Announcements
No record found.
I would like to export a large number of PDF invoices at once, all as separate PDF files.
Is this possible?
*This post is locked for comments
Hi
It is possible. you can make use of Report.SaveAsPDF function. Filter the records and run the report multiple times.
Reference:
docs.microsoft.com/.../saveaspdf-function--report-
Regards
Avinash B
Apply your specific filters on the Sales Invoice Header record, and then use the REPORT.SAVEASPDF function to generate the invoice.
SalesInvoiceHeader.SETRANGE("Bill-to Customer No.",'abcdef');
SalesInvoiceHeader.SETRECFILTER;
FilePath += 'All Invoices' + '.pdf';
REPORT.SAVEASPDF(ReportNo,FilePath,SalesInvoiceHeader);
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
HoangNam 7