I want to create a complex User defined AIF Query service by using Visual studio and writing code for query service in C#. I am using two custom tables among which one is header and one is line table. I have added fields in query by using both the tables and applies proper ranges as well and it works fine.
Now I want to make a join between these two tables or If I can use the existing relation on line table in AX directly in C# code, so I can fetch data based on relation.
Please help me out with how to make a Join between multiple tables in AIF query service.
Any help will be highly appreciated.