Display No. from Sales Invoice Header on a report

Hi all,

I have created a menu button ‘Print Report’ on the Posted Invoices Form which generates a report on the Posted Invoices Form.

On push of the menu button created, I want to get the No. from the Sales Invoice Header table and display it on the report. Is it possible to do it?

Please help…

Thanks
Liizz

Take a look at how all of the other similar documents work. You can start in the Document-Print codeunit, or on any of the document forms.