https://www.keroo.dev/2013/06/dynamics-ax-custom-wcf-service-with-paging-support/
Dynamics Ax custom WCF service with paging support