web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Runpagelink - if either is true

(0) ShareShare
ReportReport
Posted on by 40

Hello.

I am running a page to filter the list of G/L Accounts, and on this filtered list i want to display all the accounts where Net change is not equal 0 OR Balance is not equal zero, how can i achieve this?

This example only shows the accounts where both of these conditions are met, but i want to display the accounts that meets a minimum of 1 of these conditions.

pastedimage1676639854955v2.png
Thanks.

I have the same question (0)
  • Suggested answer
    Andy Sather Profile Picture
    Microsoft Employee on at

    Hello  - We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist.  If you need assistance with debugging or coding I would recommend discussing this on one of our communities.

    www.yammer.com/dynamicsnavdev

    I will open this up to the community in case they have something to add.

  • Suggested answer
    Mohana Yadav Profile Picture
    61,242 Super User 2026 Season 1 on at

    You cannot use RunPageLink property for this.

    You have to write code and run the page through code using filtergroup(-1)

    vld-nav.com/cross-column-search

  • Suggested answer
    IB-29041624-0 Profile Picture
    1,191 Moderator on at

    You can just put these filters on the chart of accounts page and save it as a filtered view.

    Then you do not have to do any coding at all.

  • Suggested answer
    YUN ZHU Profile Picture
    102,361 Super User 2026 Season 1 on at

    Hi, as far as I know, the save as view function mentioned by Inge cannot do OR condition of different fields, only And condition. (OR can be done in the same field)

    pastedimage1676851480762v1.png

    So it is recommended to use the method mentioned by Mohana.
    Add some references: https://yzhums.com/28943/

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    As mentioend by Zhu you can use Save page view feature, but if you want to achive this by action button, you can need to use

    trigger OnLookup(var Text: Text): Boolean

                   begin

                   end;

    Thanks.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 621 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 445 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 366 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans