/*  creator：IERP
请将脚本交给基础服务组的同事放到预插数据目录中,切勿自行预置权限项，多谢配合！
平台版本更新到3.005及以上后，业务部门可自行添加的业务权限项，权限项编码请不要使用QXX开头，务必选择业务操作及适用应用。脚本dbkey用basedata。
********************************************************************* 
*/ 
DELETE FROM T_PERM_PERMITEM WHERE FID = '391+=XJKW12T';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('391+=XJKW12T', 'bcm_taskactperm_exchangerate', '10', '20', '47150e89000000ac', '汇率管理-修改', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '391+=XJKW12T';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71EJA', '391+=XJKW12T', 'zh_CN', '汇率管理');

DELETE FROM T_PERM_PERMITEM WHERE FID = '391/FGY45OND';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('391/FGY45OND', 'bcm_taskactperm_invlimsheet', '10', '20', '47150e89000000ac', '调整抵销底稿-新增', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '391/FGY45OND';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71W1+', '391/FGY45OND', 'zh_CN', '调整抵销底稿');

DELETE FROM T_PERM_PERMITEM WHERE FID = '391+X2KHPMCF';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('391+X2KHPMCF', 'bcm_taskactperm_integration', '10', '20', '47150e89000000ac', '集成取数-执行采集', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '391+X2KHPMCF';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71EJB', '391+X2KHPMCF', 'zh_CN', '集成取数');

DELETE FROM T_PERM_PERMITEM WHERE FID = '390ZZ3KTSZRQ';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('390ZZ3KTSZRQ', 'bcm_taskactperm_period', '10', '20', '47150e89000000ac', '期间管理-打开数据期间', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '390ZZ3KTSZRQ';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71W1/', '390ZZ3KTSZRQ', 'zh_CN', '期间管理');

DELETE FROM T_PERM_PERMITEM WHERE FID = '391+FS47YVG1';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('391+FS47YVG1', 'bcm_taskactperm_invest', '10', '20', '47150e89000000ac', '股权及权益信息维护-修改', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '391+FS47YVG1';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71EJC', '391+FS47YVG1', 'zh_CN', '股权及权益信息维护');

DELETE FROM T_PERM_PERMITEM WHERE FID = '391+T4PWOWM/';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('391+T4PWOWM/', 'bcm_taskactperm_formula', '10', '20', '47150e89000000ac', '公式取数-公式取数', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '391+T4PWOWM/';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71W10', '391+T4PWOWM/', 'zh_CN', '公式取数');

DELETE FROM T_PERM_PERMITEM WHERE FID = '391/55JBBO5R';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('391/55JBBO5R', 'bcm_taskactperm_adjust', '10', '20', '47150e89000000ac', '调整抵销分录列表-修改', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '391/55JBBO5R';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71EJD', '391/55JBBO5R', 'zh_CN', '调整抵销分录');

DELETE FROM T_PERM_PERMITEM WHERE FID = '391+K5+V6BXE';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('391+K5+V6BXE', 'bcm_taskactperm_investrelation', '10', '20', '47150e89000000ac', '合并所有权设置-修改', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '391+K5+V6BXE';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71W11', '391+K5+V6BXE', 'zh_CN', '合并所有权设置');

DELETE FROM T_PERM_PERMITEM WHERE FID = '391/C/EI7CD6';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('391/C/EI7CD6', 'bcm_taskactperm_invereport', '10', '20', '47150e89000000ac', '股权报告-生成', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '391/C/EI7CD6';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71EJE', '391/C/EI7CD6', 'zh_CN', '股权报告');

DELETE FROM T_PERM_PERMITEM WHERE FID = '391/87P13ARH';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('391/87P13ARH', 'bcm_taskactperm_merge', '10', '20', '47150e89000000ac', '智能合并-智能合并', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '391/87P13ARH';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71W12', '391/87P13ARH', 'zh_CN', '智能合并');

DELETE FROM T_PERM_PERMITEM WHERE FID = '391+6+SD2FV+';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('391+6+SD2FV+', 'bcm_taskactperm_carry', '10', '20', '47150e89000000ac', '年初结转-年初结转', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '391+6+SD2FV+';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71EJF', '391+6+SD2FV+', 'zh_CN', '年初结转');

DELETE FROM T_PERM_PERMITEM WHERE FID = '391/0XDQ/UZ9';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('391/0XDQ/UZ9', 'bcm_taskactperm_report', '10', '20', '47150e89000000ac', '报表编制-修改', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '391/0XDQ/UZ9';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3910NQB71W13', '391/0XDQ/UZ9', 'zh_CN', '编制报表');

DELETE FROM T_PERM_PERMITEM WHERE FID = '3=DE9//4JEC/';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3=DE9//4JEC/', 'bcm_taskactperm_check', '10', '20', '47150e89000000ac', '对账管理-查询', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3=DE9//4JEC/';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3=DE9VD1VDV0', '3=DE9//4JEC/', 'zh_CN', '对账管理');

DELETE FROM T_PERM_PERMITEM WHERE FID = '3=/TBBPIV0YR';
INSERT INTO T_PERM_PERMITEM (FID, FNUMBER, FINHERITMODE, FGROUP, FPREPERMITEMID, FDESCRIPTION, FBIZAPPID) VALUES ('3=/TBBPIV0YR', 'bcm_taskrecordlist_start', '10', '20', '47150e89000000ac', '任务实例-开始', '11H66HLOX4IC');
DELETE FROM T_PERM_PERMITEM_L WHERE FID = '3=/TBBPIV0YR';
INSERT INTO T_PERM_PERMITEM_L (FPKID, FID, FLOCALEID, FNAME) VALUES ('3=/UYT3IH==V', '3=/TBBPIV0YR', 'zh_CN', '开始');

