Production order planned Quantity report per month
The below query will helpful to know future ordered quantities need to be manufactured for specific customer per month.Further the query result will be in tabular format.
Just paste the below query in query in query generator
SELECT [custcode]as Custcode,  as Jan,  as Feb,  as Mar,  as Apr,  as May,  as june,  as July,  as Aug,  as Sept,  as Oct,  as Nov,  as Dec
(select T0.[CardCode] as Custcode, sum(T0.[PlannedQty]) as PlanQty,month(T0.[DueDate]) as Month
from dbo.OWOR T0
where T0.[Status] NOT IN ( ‘C’ ) and (T0.[CardCode] between ‘XXX’ and ‘YYY’ or T0.[CardCode] between ‘SSS’ and ‘VVV’) and year(T0.[DueDate]) =2013 group by T0.[CardCode],T0.[DueDate] )s
(sum(Planqty) for month IN (,,,,,,,,,,,)) P
order by [custcode]
The main two function of the query is Month and Year.
Month function will convert due date in to months like 1,2,3……12
Year function will convert due date to year like 2012, 2013
Input to query:
Add your customer code in the above query in XXX, YYY, SSS and VVV
Same way you can report for Released quantity, completed quantity for different customers.
Hope it will be helpful for producion department.