-- 升级协同计划单的供应规则字段
update t_mrp_rativeorder set fsupplyrule = 'B' where fsupplyrule = ' ';

-- 升级模拟协同计划单的供应规则字段
update t_mrp_simcolorder set fsupplyrule = 'B' where fsupplyrule = ' ';

-- 升级计划建议的供应规则字段
update t_mrp_planorder set fsupplyrule = 'B' where fsupplyrule = ' ' and forgid != fproorpurorg;

-- 升级模拟计划建议的供应规则字段
update t_mrp_simulateorder set fsupplyrule = 'B' where fsupplyrule = ' ' and forgid != fproorpurorg;

-- 升级计划建议变更单的供应规则字段
update t_mrp_xplanorder set fsupplyrule = 'B' where fsupplyrule = ' ' and forgid != fproorpurorg;