microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
732 stars 243 forks source link

Page.RUN not working OnPostReport in BC16 #5938

Closed Julian-Schaefer closed 4 years ago

Julian-Schaefer commented 4 years ago

Hi everyone,

I just discovered what I think is a bug in Business Central 16 (Platform 16.0.12630.12758 + Application 16.1.12629.12805).

If I try to run a Page in the "OnPostReport" Trigger of a Report, the Page does not get displayed in BC16. However, if I run the same code in BC15 (Platform 15.0.38951.0 + Application 15.2.39040.0), it works just fine and opens the page.

To reproduce the error, use the below screenshot for a minimal example report.

report

atoader commented 4 years ago

Hi! Please take a minute to read the guidelines for this repository https://github.com/microsoft/AL and our collection of frequently asked questions https://github.com/Microsoft/AL/wiki/frequently-Asked-Questions .

As this repository is only for issues related to the AL compiler in latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.

To open a support case, you can:

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.