I've got some code on the Sales Prices (AR202000) that updates values. Right now, it works that it only changes the records in the grid based on the header search. If I, for example, quick search on the grid to limit to "starts with '24'" I still get all the records. I'd like the select in the code to limit to the user defined grid filters as well (I'm probably not calling those the right thing, picture below).
Code to cycle through looks like this:
foreach (ARSalesPrice price in Base.Records.Select()) // I assume this needs to apply the grid filter
{
//Do Stuff
}
I'm pretty sure this is possible with the filters, I just can't work out the details.
Thanks in advance.