I've been tasked with creating a SQL report that reports on actual prod order consumption vs expected consumption. This is basically a variance report but instead of on the dollars, the actual quantities.
What is the best way to go about doing this? Comparing the ILE's with the Prod_ Order Component lines?
We have found that people are finishing prod orders differently, some people are adjusting the Production Journal to post actual usage and some people are changing the "Qty Per" on the Prod Order Components. So using the "Remaining Qty" column in the Prod_ Order Component line won't work.
Is there another place/way I can find the actual vs expected component consumption?
0
Answers
on
Entry Type=Consumption- (5)
Order Type=Production- (1)
Order No.=Prod. Order No.
Order Line No.=Prod. Order Line No.
Prod. Order Comp. Line No.=Line No.
You get expected consumption from the Expected Quantity field on the prod order component table and actual consumption quantity from the link to ILE using quantity field on ILE
Moving forward this would work because we've corrected the process.
I came up with this code.. It seems to do the trick but doesn't take into account the issue I mentioned about people changing the QTY PER on the Consumption
I'm not sure if this is custom.. I think it's standard?
They edit it before they finish it which adjusts the EXPECTED QTY field.