Hi,
I would like to call a report from a menu Item in the Item Card. I add a menu Item in the Item Card. I put the action property to 'Run Object' and I select my report in the property Run Object. It works fine, but I would like that my report filter on the current Item of the Item Card. Is it possible to do it if my licence does not allow me to write C/AL Code in form.
Thanks
Bill
0
Comments
You are looking at an invoice & when you click print - that inv# is already filled in for you.
Unfortunately the Command button Has a RunFormLink but not a RunReportLink.
What makes report like the invoice work is the Codeunit Document-Print #229 and with a regular license I do not think you will be able to achieve this. :-k
http://www.BiloBeauty.com
http://www.autismspeaks.org
Thank you Savatage!
Bill
The only way I could do it was on the c/al code of the button
then I added to Codeunit229 (Document-Print) a function called UpdateSalesLines
But it's the last 3 lines of code that gets your report going & without a dev license you would need to have your nsc do this for you.
UpdateSalesLines(PurchHeader : Record "Purchase Header")
http://www.BiloBeauty.com
http://www.autismspeaks.org
Helloooo Dynamics-Nav DEV Team!!!
http://www.BiloBeauty.com
http://www.autismspeaks.org