I'm building a Procure to Pay Status report. The query will be very complex. more than 5 table joins. I have written the SQL statement and run it in SQL management studio which works fine. Now I need to put it in AX. I'm not quite sure I can build this query in AOT. I also don't want to build this SSRS report outside of DynamicsAX folder.
So what is the best way to implement it? Can anybody give me some ideas. Does create a table is the only option?