Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9091

Re: multi-part identifier error

$
0
0

Hi,

 

1.The above error appeared due to t0.docentry already used for ORDR table. Same docentry can not used for OINV table.

 

2. If you run above query without proper join between tables, sure your system will shutdown due to insufficient memory error. Please don't try.

 

3. Try this query:

 

SELECT T0.[DocNum], T0.[DocDate], T0.[CardCode], T0.[CardName], T0.[NumAtCard], T0.[DocStatus], T1.[ItemCode], T1.[Dscription], T1.[Quantity], T1.[Price], T1.[LineTotal], T0.[SlpCode] FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry left join INV1 T2 on  T2.[BaseEntry]  = T0.docentry  and  T2.[BaseLine]  =  T1.[LineNum] INNER JOIN OINV T3 ON T2.DocEntry = T3.DocEntry INNER JOIN RDR3 T4 ON T0.DocEntry = T4.DocEntry WHERE T0.[DocDate] between [%0] and [%1]

 

Thanks & Regards,

Nagarajan

 



Viewing all articles
Browse latest Browse all 9091

Trending Articles



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