With the QueryCategory property we can execute a query object from a page (also available in Smartlists) by defining a query in AL; it is possible to declare with a comma separated list where the object can be used, in practice it is added to the list of objects published in the SmartList.
Source : Roberto Stefanetti Blog – Microsoft Dynamics 365 Business Central
Read more…