Complex x++ to AOT queries using Ranges.
December 2, 2009 Leave a comment
Recently I came to know that we can make some complex queries in the AOT as well by adding the ranges.
For example
SELECT * FROM EmployeePosition
JOIN * FROM PositionDetailTable
WHERE EmployeePosition.ValidFrom <= PositionDetailTable.ValidFrom
&& EmployeePosition.ValidTo <= PositionDetailTable.ValidTo
Attached is the sample AOT query that will produce the same result. you need to download and remove the .doc extension from the file.
This is Amir Nazim from Karachi Pakistan, having very good experience on Microsoft Dynamics AX and related technologies, currently working as Microsoft Dynamics Ax Sr. Development Engineer and Solution Architect in MBS (Implementation) team. 