Hi,
It would be very useful to use report's global variables on relative report extensions, in particular those present on the "Request Page".
Thanks.
Comments
Hey Giorgio,
I think that using "protected var" might resolve your issue.
When you define a "protected var" on base application's report, then this variable will be accessible in the extension app.
Check this article out: Protected Variables.
It says only about tables - table extensions and page - page extensions, but it seems to work for report - report extensions too.
Category: Development
Hi,
i need read-only access because there are many reports with some gobal variables use to filter dataitem. i.e. report 594 "Get Item Ledger Entries". In my case i need to add a filter on "posting date" on "VAT Entry" dataitem, like "Operation Occurred Date". I can't see StartDate and EndDate and it's a problem... i used this "escamotage":
dtfilters := GetFilter("Operation Occurred Date")
But i think this is not a good practice because some global variables it's not used by filter so you cannot get values to use in report estenxions.
Category: Development
Business Central Team (administrator)
Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future.
Best regards,
Business Central Team