Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

RE: Subquery in AX View

$
0
0

When I have a situation where I need a subquery in AX I normally join on the same table in most cases with an exists / not exists join

Pseudo code

select StatRepInterval exists join StatRepInterval2
order by StatRepInterVal2 desc
where StatRepInterval.RecId = StatRepInterval2.RecId
&& StatRepInterval2.PrintDirection == 1


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>