UPDATE menus set disp_name="受注処理フロー" where name="accept_orders";
UPDATE menus set disp_name="発注処理フロー" where name="orders";
UPDATE menus set disp_name="仕入伝票" where name="purchases";
UPDATE menus set disp_name="売上伝票" where name="sales";
UPDATE menus set disp_name="出荷伝票" where name="shippings";
UPDATE menus set disp_name="返却伝票" where name="restorations";
UPDATE menus set disp_name="廃棄伝票" where name="disposals";
UPDATE menus set disp_name="サンプル伝票" where name="samples";
UPDATE menus set disp_name="在庫調整伝票" where name="adjustments";

UPDATE menus set invalid_flag_code=1 where name IN ("quotation_details", "accept_order_details","order_details","purchase_details","sale_details","shipping_details","restoration_details","disposal_details","sample_details","adjustment_details") and menu_category_id=3;
UPDATE menus set invalid_flag_code=1 where name IN ("receiving_details", "paying_details") and menu_category_id=4;
UPDATE menus set invalid_flag_code=1 where name IN ("quotations") and menu_category_id=2;
