Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

Error in Query report

$
0
0

Hi Experts,

 

 

I have written the folllwing inventory query report iam  getting an error "Incorrect Syntax near the key word FROM" .please solve this error .The follwing is the query

 

 

SELECT T0.[ItemCode],T1.[Dscription], T4.[OnHand] ,(T4.[OnHand]*T1.Price) as 'Inventry price',

T1.[OpenQty] as 'Open Qty', (T1.[OpenQty]*T1.Price)  as 'Open Amt', T3.Location as 'Location ',

FROM ORDR T0  INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry

INNER JOIN OITM T4 ON T1.ItemCode=T4.ItemCode INNER JOIN OLCT T3 ON T1.LocCode = T3.Code

INNER JOIN OSLP T2 ON T0.SlpCode = T2.SlpCode WHERE T0.[DocStatus]  ='o' AND  T1.OpenQty > '0'

 

 

Thanks in advance


Viewing all articles
Browse latest Browse all 3323

Trending Articles



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