RE: Generating Invoice PDF in Microsoft GP
Hi Andrew,
I've been reading quite a few of your posted questions recently and it seems to me that you're trying to bend GP in a way that it wasn't build for..
There is no way you can send an API query to GP and simply receive a PDF document in return.. that doesn't work like this.
GP can produce _some_ documents in PDF, HTML or DOCX format natively, mostly from the Sales & Purchasing modules, by using the Word Templates instead of the built-in GP reports.
Everything else would be simply be a print of the GP built-in reports saved as a PDF format, I'm not aware of any triggers outside of GP that would be able to achieve this.
You could try to re-create some of the SOP documents (like Orders or Invoices) in SSRS and have SSRS schedule the production of invoices based on their document status (i.e. New) and send them as PDF by e-mail to some end-user.
However, Microsoft doesn't provide out-of-the-box SSRS reports for doing this, so you would have to build those yourself or find someone that already has.
The out-of-the-box SSRS reports that you can install in GP for each company are mostly written to produce lengthy data reports with range selections.. not single documents like invoices or orders.
There are add-ons for GP that allow to replace the built-in reports in GP with SSRS or Crystal reports, so you may want to try out those first.
PS: keep in mind that the forums here are a place to post questions about problems GP users run into, but do not expect a quick answer or continuous support, since most of the people that reply here do this on their free time and for free.. That's why Microsoft sells GP thru partners as they are the #1 support line.