Loading...

How to validate report selections in Business Central

How to validate report selections in Business Central
Recently I had to validate some filter selections on a report in Business Central and found out it was not so straight forward to do. What happened when using the trigger OnPreDataItem() or trigger OnPreReport() triggers was that I was able to validate the filter selections by user but the user experience was not optimal since the selection page closed when the validation error occured. What I came up with was using the trigger OnQueryClosePage(CloseAction: Action): Boolean trigger on the requestpage itself.

Published on:

Learn more
Posts on Microsoft Dynamics 365 Business Central Development
Posts on Microsoft Dynamics 365 Business Central Development

Recent content in Posts on Microsoft Dynamics 365 Business Central Development

Share post:

Related posts

Business Central 2026 release wave 1 (BC28): Show Currency Symbol/Code and Currency Symbol Position

Hi, Readers.Dynamics 365 Business Central 2026 wave 1 (BC28.3) is generally available. More details: Cumulative Update Summary for Micros...

1 day ago

Dynamics 365 Business Central: How to simply back up and transfer your workflows to another environment

Hi, Readers.Today I would like to share another mini tip about Business Central, how to simply back up and transfer your workflows to another ...

2 days ago

Dynamics 365 Business Central: Is it possible to change the Variant Code for an item that has already been posted?

Hi, Readers.Today I would like to briefly talk about a qustion I saw in the Dynamics 365 Community before, is it possible to change ...

3 days ago

Dynamics 365 Business Central: Formatting Boolean Values (Yes/No, true/false, and 1/0)

Hi, Readers.Today I would like to share another mini tip about Business Central, formatting Boolean Values (Yes/No, true/false, and 1/0). In D...

4 days ago

Cumulative Update Summary for Microsoft Dynamics 365 Business Central (July, 2026)

Cumulative Update (July, 2026) for Microsoft Dynamics 365 Business Central is now released. BC28: CU03 Cloud (SaaS): Managing Production and S...

5 days ago

Dynamics 365 Business Central: How to add Filter by item attributes to the Item Ledger Entries page

Hi, Readers.Today I would like to talk about how to add Filter by item attributes to the Item Ledger Entries page. Let’s take a look at item a...

8 days ago

Dynamics 365 Business Central: How to add Item Attributes Factbox (9110, ListPart) to Item Ledger Entries page

Hi, Readers.Today I would like to talk about how to add Item Attributes Factbox (9110, ListPart) to Item Ledger Entries page (Displaying Item ...

9 days ago

Business Central 2026 release wave 1 (BC28.2): Change AI models for agents in the UI

Hi, Readers.Dynamics 365 Business Central 2026 wave 1 (BC28.2) is generally available. More details: Cumulative Update Summary for Micros...

10 days ago

Business Central 2026 release wave 1 (BC28.2): Use new APIs for analyzing approval workflows for auditors and IT staff

Hi, Readers.Dynamics 365 Business Central 2026 wave 1 (BC28.2) is generally available. More details: Cumulative Update Summary for Micros...

11 days ago

Business Central 2026 release wave 1 (BC28.2): Use new APIs for analyzing permissions for auditors and IT staff

Hi, Readers.Dynamics 365 Business Central 2026 wave 1 (BC28.2) is generally available. More details: Cumulative Update Summary for Micros...

12 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy