stevegray
4Penny.net
Points: 55509

6/7/2012 3:37:18 PM

DD_BM30200_SEL_QtysByWeek

More articles like this can be found on our SQL Data Access menu.  

This is a datasource for a report, against the Bill of Materials (BOM) tables.

Most of the data comes from BM30200 and BM30300.
We query the assembly items and add up the usage for the past 26 weeks, and then show average usage, quantity on hand, and lead time.

The purchasing department would use this report to order items.

The final query looks like this:

4Penny.net
Version: GP 10,GP 2010
Section: SQL Scripts
Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3