/*  creator：yanchixiang
请将脚本交给基础服务组的同事放到预插数据目录中,切勿自行预置权限项，多谢配合！
平台版本更新到3.005及以上后，业务部门可自行添加的业务权限项，权限项编码请不要使用QXX开头，务必选择业务操作及适用应用。脚本dbkey用basedata。
********************************************************************* 
*/ 
DELETE FROM T_PERM_PERMITEM WHERE FID = '3M=J9OK3QF2W';
INSERT INTO T_PERM_PERMITEM(FID,FPREPERMITEMID,FINHERITMODE,FBIZAPPID,FDESCRIPTION,FGROUP,FNUMBER) VALUES ('3M=J9OK3QF2W','47150e89000000ac','10','064+L=UVGI9P','BOM维护进行替代设置','20','MMC_MATREPLACE_04'); 
DELETE FROM T_PERM_PERMITEM WHERE FID = '3M=JB+9VXE4V';
INSERT INTO T_PERM_PERMITEM(FID,FPREPERMITEMID,FINHERITMODE,FBIZAPPID,FDESCRIPTION,FGROUP,FNUMBER) VALUES ('3M=JB+9VXE4V','47150e89000000ac','10','064+L=UVGI9P','BOM维护进行重新替代设置','20','MMC_MATREPLACE_05'); 
DELETE FROM T_PERM_PERMITEM WHERE FID = '3M=JCYPG6ROV';
INSERT INTO T_PERM_PERMITEM(FID,FPREPERMITEMID,FINHERITMODE,FBIZAPPID,FDESCRIPTION,FGROUP,FNUMBER) VALUES ('3M=JCYPG6ROV','47150e89000000ac','10','064+L=UVGI9P','BOM维护进行替代删除','20','MMC_MATREPLACE_06'); 


DELETE FROM t_perm_permitem_l WHERE FID = '3M=J9OK3QF2W' and FLOCALEID = 'zh_CN';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3M=J9OK3QF2W','3M=J9OK3R60X','zh_CN','替代设置'); 
DELETE FROM t_perm_permitem_l WHERE FID = '3M=J9OK3QF2W' and FLOCALEID = 'zh_TW';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3M=J9OK3QF2W','3M=J9OK3R60Y','zh_TW','替代設置'); 
DELETE FROM t_perm_permitem_l WHERE FID = '3M=JB+9VXE4V' and FLOCALEID = 'zh_CN';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3M=JB+9VXE4V','3M=JB+9VWO6U','zh_CN','重新替代设置'); 
DELETE FROM t_perm_permitem_l WHERE FID = '3M=JB+9VXE4V' and FLOCALEID = 'zh_TW';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3M=JB+9VXE4V','3M=JB+9VWO6V','zh_TW','重新替代設置'); 
DELETE FROM t_perm_permitem_l WHERE FID = '3M=JCYPG6ROV' and FLOCALEID = 'zh_CN';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3M=JCYPG6ROV','3M=JCYPG6/QU','zh_CN','替代删除'); 
DELETE FROM t_perm_permitem_l WHERE FID = '3M=JCYPG6ROV' and FLOCALEID = 'zh_TW';
INSERT INTO t_perm_permitem_l(FID,FPKID,FLOCALEID,FNAME) VALUES ('3M=JCYPG6ROV','3M=JCYPG6/QV','zh_TW','替代刪除'); 
