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

Re: Production Schedule With Labour Criteria

$
0
0

Hi,

 

Try this:

 

SELECT DISTINCT T0.[Printed],

T0.[DueDate],

T0.[DocNum] as 'Prod ord#',

T0.[OriginNum] as 'S/O#',

T0.[U_CustOrd] as 'Cust. Ord #',

T0.[U_CustName],

T0.PlannedQty as 'Qty',

T0.[ItemCode],

T2.[ItemName],

T0.[U_Type],

T0.[U_Colour],

T0.[U_Colour_Desc],

T0.[Comments],

T0.[Status]

FROM OWOR T0  INNER JOIN WOR1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T0.ItemCode = T2.ItemCode

WHERE T0.[Status] != 'L' and T0.[Status] != 'C' and T0.DueDate >= '[%0]' and T0.DueDate <= '[%1]' and   T1.[ItemCode] NOT Like '%%SUNDRY LABOUR%%' ORDER BY T0.[DueDate]

 

Thanks & Regards,

Nagarajan


Viewing all articles
Browse latest Browse all 9080

Trending Articles



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