Quantcast
Channel: AX Developer Forum
Viewing all articles
Browse latest Browse all 9880

Adding link between three tables using Query class

$
0
0

Hi,

Hope you are doing well!

Kindly go through the below given SQL in order to understand my query

Select  TabA
Where TabA.col1 == 'xyz'
Join TabB
Where TabA.col1 == TabB.col1 &&
 TabA.col2 != TabB.col2
join TabC
Where TabA.col1 == TabC.col1;

I did not find any way using addlink() method to achieve relation

TabA.col1 == TabB.col1 &&
 TabA.col2 != TabB.col2

and

TabA.col1 == TabC.col1

I would appreciate any help you may offer.

 

Regards,

Abhinay


Viewing all articles
Browse latest Browse all 9880

Trending Articles