INSERT INTO `waybill_lines` VALUES ($e_order_id, $e_prod_id, 
(SELECT price FROM workpiece WHERE work_id = $e_prod_id), $e_amount);