--增加库存事务分组’委外完工入库单’ 
DELETE FROM t_im_invschemegroup WHERE FID = 1240380711765115904;
INSERT INTO t_im_invschemegroup(FID,FDISABLEDATE,FMASTERID,FPARENTID,FSTATUS,FNUMBER,FNAME,FCREATETIME,FISLEAF,FENABLE,FMODIFIERID,FMODIFYTIME,FLEVEL,FLONGNUMBER,FCREATORID,FFULLNAME,FDISABLERID) VALUES (1240380711765115904,NULL,1240380711765115904,0,'C','omcmplinbill','委外完工入库单',{ts'2021-09-08  00:00:00'},'1','1',1159363507540525056,{ts'2021-09-08  00:00:00'},1,'omcmplinbill',1159363507540525056,'委外完工入库单',0); 

DELETE FROM t_im_invschemegroup_l WHERE FPKID = '1WBIT/QO7/KM';
INSERT INTO t_im_invschemegroup_l(FID,FPKID,FLOCALEID,FFULLNAME,FNAME) VALUES (1240380711765115904,'1WBIT/QO7/KM','zh_CN','委外完工入库单','委外完工入库单'); 
DELETE FROM t_im_invschemegroup_l WHERE FPKID = '1WBIT/QO7/KN';
INSERT INTO t_im_invschemegroup_l(FID,FPKID,FLOCALEID,FFULLNAME,FNAME) VALUES (1240380711765115904,'1WBIT/QO7/KN','zh_TW',' ','委外完工入庫單'); 

--增加库存事务 601 委外完工入库单
DELETE FROM t_im_invschemes WHERE FID = 1240381892419741696;
INSERT INTO t_im_invschemes(FISNOTUPDATE,FOUTOWNERTYPE,FISINUPDATE,FOUTKEEPERTYPE,FDESCRIPTION,FMASTERID,FBILLFORMID,FOWNERTYPE,FTRANSCEIVERTYPEID,FCREATETIME,FENABLE,FINVDC,FISOUTUPDATE,FDISABLERID,FID,FISFORWARDAMOUNT,FOUTINVSTATUSID,FDISABLEDATE,FNUMBER,FGROUPID,FNAME,FMODIFIERID,FISPRESET,FMODIFYTIME,FKEEPERTYPE,FCREATORID,FINVSTATUSID) VALUES ('0',' ','1',' ',' ',1240381892419741696,'im_mdc_omcmplinbill','bos_org',687616874967685120,{ts'2021-09-08  00:00:00'},'1','A','0',0,1240381892419741696,'1',0,NULL,'601',1240380711765115904,'委外完工入库',1159363507540525056,'1',{ts'2021-09-08  00:00:00'},'bos_org',1159363507540525056,0); 


DELETE FROM t_im_invschemes_l WHERE FPKID = '1WBJ/M9JI=2V';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1240381892419741696,'1WBJ/M9JI=2V','zh_CN',' ','委外完工入库'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1WBJ/M9JI=2W';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1240381892419741696,'1WBJ/M9JI=2W','zh_TW',' ','委外完工入庫'); 

DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1240381892453296128;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FSEQ,FISDEFAULT,FINVTYPEID,FINVTYPEISPRESET) VALUES (1240381892419741696,1240381892453296128,1,'1',688884005529250816,'0'); 

DELETE FROM t_im_invstatusentry WHERE FENTRYID = 1240381892453303298;
INSERT INTO t_im_invstatusentry(FID,FENTRYID,FSEQ,FISDEFAULT,FINVSTATUSISPRESET,FINVSTATUSID) VALUES (1240381892419741696,1240381892453303298,1,'1','0',691928582720825344); 
DELETE FROM t_im_invstatusentry WHERE FENTRYID = 1255798933389710336;
INSERT INTO t_im_invstatusentry(FID,FENTRYID,FSEQ,FISDEFAULT,FINVSTATUSISPRESET,FINVSTATUSID) VALUES (1240381892419741696,1255798933389710336,2,'0','0',691928796160567296); 

DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1240427714486268928;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (1240381892419741696,1002795213917594624,1240427714486268928,'0',1,'1'); 
