/*  creator：张海清
请将脚本交给基础服务组的同事放到预插数据目录中,切勿自行预置权限项，多谢配合！
平台版本更新到3.005及以上后，业务部门可自行添加的业务权限项，权限项编码请不要使用QXX开头，务必选择业务操作及适用应用。脚本dbkey用basedata。
********************************************************************* 
*/ 
DELETE FROM T_PERM_PERMITEM WHERE FID = '3+744QH9M/6F';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3+744QH9M/6F', 'MDSOP00004', '10', '20', '47150e89000000ac', '手工获取订单', '0MBB4=9D3YI9');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3+744QH9M/6F';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3IFW7HCWR1TG', '3+744QH9M/6F', 'zh_CN', '手工获取订单');

DELETE FROM T_PERM_PERMITEM WHERE FID = '3IFV3/CI/ZY4';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3IFV3/CI/ZY4', 'MDSOP00011', '10', '20', '47150e89000000ac', '配置信息', '0MBB4=9D3YI9');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3IFV3/CI/ZY4';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3IFW7HCWR2GQ', '3IFV3/CI/ZY4', 'zh_CN', '配置信息');

DELETE FROM T_PERM_PERMITEM WHERE FID = '3+74HRK74G6C';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3+74HRK74G6C', 'MDSOP00007', '10', '20', '47150e89000000ac', '批准排产', '0MBB4=9D3YI9');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3+74HRK74G6C';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3IFW7HCWR1TH', '3+74HRK74G6C', 'zh_CN', '批准排产');

DELETE FROM T_PERM_PERMITEM WHERE FID = '3IFU2Y=OW3V/';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3IFU2Y=OW3V/', 'MDSOP00010', '10', '20', '47150e89000000ac', '指定期望生产交期', '0MBB4=9D3YI9');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3IFU2Y=OW3V/';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3IFW7HCWR2GR', '3IFU2Y=OW3V/', 'zh_CN', '指定期望生产交期');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2X974Y/BV=8J';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2X974Y/BV=8J', 'MDSOP00001', '10', '20', '47150e89000000ac', ' ', '0MBB4=9D3YI9');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2X974Y/BV=8J';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3IFW7HCWR1TI', '2X974Y/BV=8J', 'zh_CN', '获取设置');

DELETE FROM T_PERM_PERMITEM WHERE FID = '3IFTWZODKS2J';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3IFTWZODKS2J', 'MDSOP00009', '10', '20', '47150e89000000ac', '取消准入', '0MBB4=9D3YI9');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3IFTWZODKS2J';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3IFW7HCWR2GS', '3IFTWZODKS2J', 'zh_CN', '取消准入');

DELETE FROM T_PERM_PERMITEM WHERE FID = '2X976=4OFKXT';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('2X976=4OFKXT', 'MDSOP00002', '10', '20', '47150e89000000ac', ' ', '0MBB4=9D3YI9');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '2X976=4OFKXT';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3IFW7HCWR1TJ', '2X976=4OFKXT', 'zh_CN', '准入设置');

DELETE FROM T_PERM_PERMITEM WHERE FID = '3+749+3F7H03';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3+749+3F7H03', 'MDSOP00005', '10', '20', '47150e89000000ac', '立即获取订单', '0MBB4=9D3YI9');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3+749+3F7H03';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3IFW7HCWR2GT', '3+749+3F7H03', 'zh_CN', '立即获取订单');

DELETE FROM T_PERM_PERMITEM WHERE FID = '3+74DTIEXETK';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3+74DTIEXETK', 'MDSOP00006', '10', '20', '47150e89000000ac', '资源检查', '0MBB4=9D3YI9');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3+74DTIEXETK';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3IFW7HCWR1TK', '3+74DTIEXETK', 'zh_CN', '资源检查');

DELETE FROM T_PERM_PERMITEM WHERE FID = '3+74M4Q5R=BE';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3+74M4Q5R=BE', 'MDSOP00008', '10', '20', '47150e89000000ac', '退回', '0MBB4=9D3YI9');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3+74M4Q5R=BE';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3IFW7HCWR2GU', '3+74M4Q5R=BE', 'zh_CN', '退回');

