Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Download PDF while Creating Bill Payment Record
While saving a Bill Payment record for multiple vendors, I want to download the PDF of the Bill Payment records to my local system.
We have developed an afterSubmit User Event script and a Suitelet for this purpose. The User Event triggers for each Bill Payment being created, and from there, it calls a function to invoke the Suitelet to handle the PDF download.
This works when processing a Bill Payment for a single vendor (via Transactions > Payables > Pay Single Vendor) — the PDF is successfully downloaded.
However, when processing Bill Payments for multiple vendors (via Transactions > Payables > Pay Bills), the Suitelet is not triggered, and the PDF is not downloaded. Despite the User Event triggering correctly for each Bill Payment, the Suitelet call fails to execute.