Quantcast
Viewing all articles
Browse latest Browse all 8735

Display Production Schedule for selected date range with Item Code Labour as criteria

I need query which should display all production orders for a date range with the Item Code “labour “in the BOM

 

SELECT T0.[DueDate],

T0.[DocNum],

T0.[U_CustName],

T0.[PlannedQty],

T2.[Dscription],

T1.[PlannedQty],

T2.[LineTotal]

FROM OWOR T0  INNER JOIN WOR1 T1 ON T0.DocEntry = T1.DocEntry, RDR1 T2

WHERE T0.[DueDate] = >[%0] T0.[DueDate] <[%1] T1.[ItemCode] IS NOT NULL[%2]

ORDER BY T0.[DocNum]

 

Thanks and regards

Rahul


Viewing all articles
Browse latest Browse all 8735


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