Hi, I make a new functional area and I need a report menu item which displays some of the G/L reports + custom reports. I have tried to apply a filter to G/L reports and the call the Reportlist.showlist function but still seeing all the reports. The variable is a local one. How is the standard navision way of showing some customization reports to user of a new functional area? Thanks in advance.
Let’s suppose you have created a functional area called “Casino Management”… [:)] Create a new field on the “Report List” table. Call it “Casino Reports”. It’s a good idea to give it a “Field No.” equal to the Object ID of the Form you use as “Casino Menu”. Now on the “Reports” button of the “Casino Menu” Form, define a local Record variable pointing to the “Report List” table and insert this code: WITH ReportList DO ShowList(FIELDNO("Casino Reports"));
Or are you thinking of something different?
I forgot: Bear in mind this will give you a “new area” for Reports. You will have to fill it in with the ones you need: customized + a few from standard G/L.
Thanks Nelson. You are at the point.