Loading ...

PXFilteredProcessing In Acumatica

Hello everybody,

few day ago I was digging in code of CT502000, and found interesting part of code:

public PXFilteredProcessing<ContractsList, ExpiringContractFilter> Items;

As usually in my code I use PXFilter, and discovery of PXFilteredProcessing was confusting for me. 

The first think that I as usually do, if I see something new, it is watching with reflector in declaration of new type. Here it what reflector shows:

public class PXFilteredProcessing<Table, FilterTable> : PXProcessing<Table> 
where Table: class, IBqlTable, new() where FilterTable: class, IBqlTable, new()

This means, that we can pass into PXFilteredProcessing two tables. T200 manual gives an answer why: Provides data records for processing with filtering. This data type takes two DACs as type parameters, where the second DAC specifies the filter DAC. You can use the

Where<>and OrderBy<>clauses in this data view type. It means, that items in Table will be filtered according to FilterTable. 

Ready to take your Acumatica development to the next level? Just like discovering the power of PXFilteredProcessing can unlock new possibilities in your code, customizing Acumatica to fit your unique business needs can transform your workflows. If you have a specific customization request or need tailored solutions to enhance your Acumatica experience, we’re here to help! Leave us a request today, and let’s build something extraordinary together. Your next breakthrough starts here—submit your customization request now!