Could someone tell me the steps to complete to have a query and use it at a ListPage.
The development takes place in Microsoft Dynamics AX.
Thank you in advance.
Start by reading MSDN. When you are ready, you will find lot of list pages in the applications.