> Then add the tables you want (PartBom, PartBoo, etc)Steve,
In 6.1, PartBOM and PartBOO are temp tables, they only contain data when
a BOM report is generated in Vantage. They are empty all other times.
The tables needed to generate a complete BOM & router are PartRev,
PartOpr and PartMtl.
As Bill noted, it's easy to pull same-level materials and operations,
but looping through to find all the children can be problematic. Things
to watch for: is the Part type P or M? Is Pull-As-Assembly Yes or No?
These two fields in particular should signal your loop to continue or
stop. But if your BOMs are constructed incorrectly, you could end up
with an inaccurate query.
Additionally, we've experienced "discontinuities" between QtyPer in
PartMtl vs QtyPer on the Summarized BOM report. I have a tech request
on this problem in to Epicor with no response so far.
have fun,
john
-----Original Message-----
From: Ashton, Steve <Steve.Ashton2@...>
Reply-To: vantage@yahoogroups.com
To: vantage@yahoogroups.com
Subject: RE: [Vantage] BOM and ODBC (Vantage 6.1)
Date: Mon, 27 Aug 2007 11:36:41 -0400
In Excel, go to Data > Import Data > New Database Query and select your
data source. Then add the tables you want (PartBom, PartBoo, etc) and
click Close. Microsoft Query will open but will be minimized. Right
click on it and restore it. Here you can add more tables, change links,
add filters (criteria) and preview the data. When you've got what you
want you can return it to Excel. I suggest you get a book on Excel and
familiarize yourself with all the features.
There are some short-comings though: Only two tables can be linked when
left outer joins are required. (The work-around is to add more
worksheets to the workbook, each with its own embedded query, and use
vlookups to collect the data in the format you need it.) And to change
the filters you must open the embedded query, which puts the whole query
at risk of being compromised.
Both of the above issues are negated when I create a Crystal Report and
publish it with EasyView (http://www.easystreetsoftware.net). Moreover,
Crystal's parameter screens make data selections easy, and Easyview's
export functions are easy to learn.
Steve Ashton