on 06-06-2011 7:15 AM
Hi All..
my one of the clients want the Daily Production Report with Variance or receipt of Product?
Please let me know what does it mean and how can I fetch this report
Thanks
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
Try This
Daily Receipt From Production report
SELECT T1.[BaseRef] as 'Production Order No', T0.[DocNum] as 'Receipt No', T0.[DocDate] as 'Receipt Date', T0.[CardCode] as'Customer/Vendore Code', T0.[CardName], T2.[ItemCode], T2.[ItemName], T1.[Quantity] as 'Receipt Qty', T1.[OpenQty] as 'Open Qty against Pro Order' FROM OIGN T0 INNER JOIN IGN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode WHERE T0.[DocDate] >=[%0] and T0.[DocDate] <=[%1] and
T1.[BaseRef] IS NOT NULL
Summary Report For Production Order
SELECT T0.[DocNum] as 'Production Order No', T0.[PostDate], T0.[DueDate], T0.[RlsDate], T0.[CloseDate], T2.[ItemCode], T2.[ItemName], T3.[CardCode], T3.[CardName], T0.[PlannedQty], T0.[CmpltQty], T0.[RjctQty] , (T0.[PlannedQty]-T0.[CmpltQty]-T0.[RjctQty] ) as 'Open Qty' FROM OWOR T0 INNER JOIN WOR1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode LEFT OUTER JOIN OCRD T3 ON T0.CardCode = T3.CardCode WHERE T0.[PostDate] >=[%0] and T0.[PostDate] <=[%1]
Thanks,
Srujal Patel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul......
Daily Production Variance Report meaning Production Gain or Production Loss Report as per the Fixed Ration during Production Plan.
For record to be fetched from Tables are OWOR and WOR1.
Please make a join of these two tables and run. You get complete data of Production Variance....
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.