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.
Thanks.
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.
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)
So it is recommended to use the method mentioned by Mohana.
Add some references: https://yzhums.com/28943/
Hope this helps.
Thanks.
ZHU
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.
You cannot use RunPageLink property for this.
You have to write code and run the page through code using filtergroup(-1)
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.
I will open this up to the community in case they have something to add.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,232 Super User 2024 Season 2
Martin Dráb 230,064 Most Valuable Professional
nmaenpaa 101,156