session_begin(); $auth->acl($user->data); // Grab data $mode = request_var('mode', ''); $action = request_var('action', ''); $user_id = request_var('u', ANONYMOUS); $username = request_var('un', '', true); $group_id = request_var('g', 0); $topic_id = request_var('t', 0); if (false) { //login_box($phpbb_root_path . 'my_page.' . $phpEx, $user->lang['Hello']); login_box('http://www.buildlog.net/cnc_laser/erp/bom.html', 'Drawings: You must be logged into the forum to view the BOM','Thanks, you will be now redirected to the BOM page'); } else { ?> Buildlog.net BOM Page

Bill Of Materials

This is a multilevel BOM. Each assembly and sub assembly has it's own BOM. The default BOM is a fully indented BOM. Each subassembly will have its own BOM indented below it. The number of dots before the part number indicate its indent level. You can isolate a single assembly's part by selecting the single level option. You can also drill down by sub assembly by clicking on the sub assembly part number in the first column.

Be aware that the quantities shown are for that level. The total quantity could be larger if that part is used in multiple asemblies. Use the shopping list feature at the bottom. Be sure you are using the top level assembly yand you don't have 'single level' checked if you want the total count.

The drawing column list the drawings and CAD files that are availble for that individual part. Not all parts have CAD file stored as individual files, but but can be retrieved from upper level assemblies. If you are looking at a fresh design, the BOM is uaually post while the drawings are still being created. Please be patient for these free and open source drawings.

The suppliers listed are places you might buy for a low quantity build. They are not necessarily the place I buy them.


acl_get('a_')) { //echo "You are an admin and can edit this stuff"; } ?>

Part Number

dbGetFromPn($parent); if ($itmParent->Id != -1) { if (getPostVar("doFilter","") == "true") { $supplierFilter = getPostVar("supplier",-1); } else { $supplierFilter = -1; } //echo $itmParent->partNumber; echo ""; echo ""; echo ""; echo ""; if ($itmParent->pdf) { echo ""; //http://www.buildlog.net/cnc_laser/erp/get_doc.php?docNumber=D30051 } else { echo ""; } recusiveBomB($itmParent->Id,1, 1,!$single_level,false); echo "
Bill of Materials For: $parent
Part NumberDecriptionQtyUOMITSupplierSupplier P/NDrawing
$parent$itmParent->description-----PDF
No Drawing
"; if (count($bomRollup) > 0) { $totalCost = 0; ksort($bomRollup); echo "
"; echo "
"; echo ""; echo ""; echo ""; foreach ($bomRollup as &$value) { if ($value->itemType != 1) { // see if we are filtering if ($supplierFilter == -1 || $supplierFilter == $value->supplier) { echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; //echo ""; //$costExtended = $value->unitCost * $value->qty; //$totalCost += $costExtended; //echo ""; echo ""; } } } //echo ""; echo "
Shopping List
All Levels/Qty's From Above Rolled Up Into One List
P/NDescQtySupplierSupp P/N
$value->partNumber$value->description$value->qty$value->supplierName$value->supplierPn$" . number_format($value->unitCost,2) . "$" . number_format($costExtended,2) . "
Total$" . number_format($totalCost,2) . "
"; } } else { echo "Parent Not Fount"; } } ?>

 

Send comments, suggestions, corrections to bdring@buildlog.net