Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

Query cross joing

$
0
0
Hello,

I have the necessity to do a query object in NAV2016 that should be the same of them followe query in SQL Server that I done in SQL Server :

SELECT DISTINCT [LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Item].No_,[LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Item].Description,[LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Item Variant].Code,[LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Item Variant].Description,[LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Sales Price].[Sales Code],[LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Sales Price].[Unit Price],[LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Sales Price].[Unit of Measure Code]
FROM [LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Customer Price Group]
inner join [LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Customer] on [Customer Price Group] = [LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Customer Price Group].[code]
CROSS Join [LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Item]
inner join [LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Item Variant] on [LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Item Variant].[Item No_] = [LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Item].[No_]
inner join [LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Sales Price] on [Sales Code] = [LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Customer].[Customer Price Group]
where [LaneMondial2016].[dbo].[Lane Mondial s_p_a_$Customer].[No_] = 'C000109'


QUESTION

how can I do to specify DISTINCT and CROSS JOIN options? I attached the screenshot of my query boject NAV2016. Any suggests?


Viewing all articles
Browse latest Browse all 10032

Trending Articles



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