All right, so now we're really talking about adding a logo to CustAccountStatementExt SSRS report.
In F&O, CustAccountStatementExtTmp table already contains a logo (in CompanyLogo field). I'm assuming it's the same in AX 2012. You just need to use this field.
@martin I was totally confused with the requirement of the customer before, after the call with him, they are now looking to add their company logo to the CustAccountStatementExt report and want to send this report as a PDF to their customers.
I have done the coding to send the report to the customer as a PDF, but the logo that they are looking for is an image file that I need to add to the report.
Shall I add that image as an embedded image into the report design ??
You said you create PDF by printing a report to PDF. You're now also saying that you're using the F&O reporting framework to do that, but you seem to suggest that you're using a type of report that doesn't support images. Therefore my questions are:
What kind of report you're using? You said it's not SSRS; does it mean you're using electronic reporting?
Why are you unable to add the logo there?
Note that I said nothing about SSRS, but if you're using CustAccountStatementExtController, it does print an SSRS report by default (it's called CustAccountStatementExt).
If you want to get a solution quicker, you should give us more information on your own.
Hello Martin This report is not an SSRS. For open balances, I am creating customer statements and sending them to the customers in PDF format. I have to provide the statement as a PDF and include my company's logo in that document.
To generate statements and PDFs, I use the CustAccountStatementExtController, CustAccountStatementExtContract, and SRSPrintdestinationsettings classes.
But why? Why do you want to print a report to PDF without a logo and then doing the very complicated step of manipulating the contents of an existing PDF file? Why don't you simply add the logo to your report? When you print it to PDF, as you're doing at the moment, you'll have the logo in the PDF file.