Greetings!
I need to change the functionality of the SalesTable form. Its grid (under the Overview Tab) can't show Sales Orders with SalesStatus = Cancelled unless the user decides to filter the SalesStatus with Cancelled.
I have been searching a lot to no avail... I found how I can filter the SalesStatus right when the form is opened by adding a queryrange in some methods (described here: http://dynamics-ax-live.blogspot.com.br/2010/03/how-to-filter-records-in-form-by-code.html), but if the user erases the filter, AX will return everything (of course), but I needed it not to return the Cancelled Sales Orders...
Is there a way to do this? To make AX "think" that no filter = !Cancelled?
Thank you in advance!
Luiz Bezerra