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

Re: Query To Check Qty Build & Used In A Production Order Over A Period

$
0
0

Hi Johan

We have the finished products as an Inventory Item and Sale Item

The components including the sub-assemblies as Inventory Item and Purchase Item

The components belong to the Item Group - Component Item

 

I have written a query, but when I execute it I don't get any results

 

SELECT

T0.[ItemCode],

T0.[ItemName],

T1.[InQty],

T1.[OutQty]


FROM OITM T0  INNER JOIN OINM T1 ON T0.[ItemCode] = T1.[ItemCode]


WHERE T0.[ItemCode] = [%0] and

T1.[DocDate] = [%1] and 

T1.[DocDate] =[%2]


GROUP BY T0.[ItemCode], T0.[ItemName], T1.[InQty], T1.[OutQty]

 

Thanks and Regards

Rahul


Viewing all articles
Browse latest Browse all 3116

Trending Articles



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