I want to create an Invoice from SQL data. Currently handled by a 3rd party APP, but need to have control over the invoicing format so want to find the easiest!! way to generate the PDF from SQLdata.
Requirements are that:
Starts on Letter headed page, with Address, Invoice Number, Logo, column headings etc.
Continuation pages to have sub-total at foot and (if possible) carried forwards total top of continuation page
Footing at bottom of last page with breakdown of sales tax etc. and total, These lines must be kept-together
Secondary section with a report of cost-of-sales analysis. This is a more conventional report but needs to be part of the same PDF, be on "blank" paper template, and start on a new page. This is only provided for certain clients.
One area that I have difficulty with is word wrap. The invoice line descriptions may spill-over onto multiple lines, in which case the page breaks, and sub-totals, have to adjust accordingly.
Ideally run off all the invoices in the batch, each to a separate PDF file, but probably OK to do them one-by-one if that's the only option.
I have very little knowledge of SSRS but maybe this is something that it does standing-on-its-head?
Or perhaps there are 3rd party tools that make this easy? or templates that can be set up (in Postscript or somesuch?)
I am confident that my SQL skills can spit-out the data in whatever format is needed - except the bit about being able to predict where page breaks need to fall based on word-wrap of descriptions.