[0000134] Voiding a supplier credit note didn't activate the PO Receivals and void...
[fa-stable.git] / manufacturing / manage / bom_edit.php
index 84f60733f7d2a1b4e84874414efeb8b516abc525..673a54329efb710f0b3e7aeb97c50b548e1395a2 100644 (file)
@@ -252,6 +252,7 @@ start_form();
                        $myrow = db_fetch($result);
 
                        $_POST['loc_code'] = $myrow["loc_code"];
+                       $_POST['component'] = $myrow["component"]; // by Tom Moulton
                        $_POST['workcentre_added']  = $myrow["workcentre_added"];
                        $_POST['quantity'] = number_format2($myrow["quantity"], get_qty_dec($myrow["component"]));
                label_row(_("Component:"), $myrow["component"] . " - " . $myrow["description"]);