--制造报表扩展设置
UPDATE T_MSPLAN_REPORTEXTMODEL A SET FNAME = (SELECT B.FNAME FROM T_MSPLAN_REPORTEXTMODEL_L B WHERE B.FID = A.FID AND B.FLOCALEID = 'zh_CN')
WHERE FNAME = ' ';


--评估模型及影响范围的预置数据

--UPDATE T_MRP_BFTRANSFER A SET FNAME = (SELECT B.FNAME FROM T_MRP_BFTRANSFER_L B WHERE B.FID = A.FID AND B.FLOCALEID = 'zh_CN') WHERE FNAME = ' ';

--UPDATE T_MRP_RSREGISTER A SET FNAME = (SELECT B.FNAME FROM T_MRP_RSREGISTER_L B WHERE B.FID = A.FID AND B.FLOCALEID = 'zh_CN') WHERE FNAME = ' ';

--UPDATE T_MRP_ALGOREGISTER A SET FNAME = (SELECT B.FNAME FROM T_MRP_ALGOREGISTER_L B WHERE B.FID = A.FID AND B.FLOCALEID = 'zh_CN') WHERE FNAME = ' ';

--UPDATE T_MRP_BUSINESSPLAN A SET FNAME = (SELECT B.FNAME FROM T_MRP_BUSINESSPLAN_L B WHERE B.FID = A.FID AND B.FLOCALEID = 'zh_CN') WHERE FNAME = ' ';

--UPDATE T_MRP_CALPLANCONFIG A SET FNAME = (SELECT B.FNAME FROM T_MRP_CALPLANCONFIG_L B WHERE B.FID = A.FID AND B.FLOCALEID = 'zh_CN') WHERE FNAME = ' ';

--UPDATE T_MRP_RSDATACONFIG A SET FNAME = (SELECT B.FNAME FROM T_MRP_RSDATACONFIG_L B WHERE B.FID = A.FID AND B.FLOCALEID = 'zh_CN') WHERE FNAME = ' ';