Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

filter on display method output

$
0
0

Hello,

I have a column in a grid which is a display method. It's calculated column based on data from other related table 'X'. it can have positive or negative amount in it.

Now, i want to put a filter dropdown on my screen having value as positive and negative. If  user selects positive then only those rows will be visible where that display method returns positive values. I also want to pass one more condition where only active records of the table 'X' would be considered while calculation of display method.

i am planning to override executequery method of datasource as it needs to reexecute the new logic. but not sure how to achieve.

display method is not actual physical column so i can't put condition where it's greater than 0. how to do that?

let me know if anyone has done such thing before. thanks.


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>