--增加库存事务--3101-默认为系统预设
DELETE FROM t_im_invschemes WHERE FID = 1098498903210210304;
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','bos_org','1','bos_org',' ',1098498903210210304,'im_transdirbill','bos_org',1098472580572001280,{ts'2021-02-24  15:16:47'},'1','A','1',0,1098498903210210304,'1',691928582720825344,NULL,'3101',536099813956068352,'一步式调拨退回',947706740454046720,'1',{ts'2021-02-24  15:21:13'},'bos_org',947706740454046720,691928582720825344); 

--多语言
DELETE FROM t_im_invschemes_L WHERE FPKID = '1EXSSPH4JHI5';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1098498903210210304,'1EXSSPH4JHI5','zh_CN',' ','一步式调拨退回'); 
DELETE FROM t_im_invschemes_L WHERE FPKID = '1EXSSPH4JHI6';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1098498903210210304,'1EXSSPH4JHI6','zh_TW',' ','一步式調撥退回'); 
--分录 入库更新
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1098498903210210305;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FSEQ,FISDEFAULT,FINVTYPEID) VALUES (1098498903210210304,1098498903210210305,1,'1',688884005529250816); 
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1098498903210210306;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FSEQ,FISDEFAULT,FINVTYPEID) VALUES (1098498903210210304,1098498903210210306,2,'0',688884099724930048); 

-- 分录出库更新

DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1098498903210198018;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEID,FENTRYID,FSEQ,FISDEFAULT) VALUES (1098498903210210304,688884005529250816,1098498903210198018,1,'1'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1098498903210198019;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEID,FENTRYID,FSEQ,FISDEFAULT) VALUES (1098498903210210304,688884099724930048,1098498903210198019,2,'0'); 

--关联业务类型
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1098498903210210307;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FSEQ,FALLOWMANUALADD) VALUES (1098498903210210304,1098492265111761920,1098498903210210307,1,'0'); 

--3111
DELETE FROM t_im_invschemes WHERE FID = 1098528483908256768;
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','bos_org','0','bos_org',' ',1098528483908256768,'im_transoutbill',' ',1098481879687902208,{ts'2021-02-24  16:18:12'},'1','A','1',0,1098528483908256768,'1',691928582720825344,NULL,'3111',508543364719724544,'分步式调出退回',947706740454046720,'1',{ts'2021-02-24  16:20:00'},' ',947706740454046720,0); 

--多语言
DELETE FROM t_im_invschemes_L WHERE FPKID = '1EXYA92UQ694';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1098528483908256768,'1EXYA92UQ694','zh_CN',' ','分步式调出退回'); 
DELETE FROM t_im_invschemes_L WHERE FPKID = '1EXYA92UQ695';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1098528483908256768,'1EXYA92UQ695','zh_TW',' ','分步式調出退回'); 


--分录 入库更新

-- 分录出库更新
  DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1098528483908256769;
  INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEID,FENTRYID,FSEQ,FISDEFAULT) VALUES (1098528483908256768,688884005529250816,1098528483908256769,1,'1'); 
  DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1098528483908256770;
  INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEID,FENTRYID,FSEQ,FISDEFAULT) VALUES (1098528483908256768,688884099724930048,1098528483908256770,2,'0'); 

--关联业务类型
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1098528483908269058;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FSEQ,FALLOWMANUALADD) VALUES (1098528483908256768,1098492265111761920,1098528483908269058,1,'0'); 


--3121

DELETE FROM t_im_invschemes WHERE FID = 1098532127634359296;
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',' ',' ',1098532127634359296,'im_transinbill','bos_org',1098484895459574784,{ts'2021-02-24  16:24:57'},'1','A','0',0,1098532127634359296,'1',0,NULL,'3121',508544029483354112,'分步式调入退回',947706740454046720,'1',{ts'2021-02-24  16:27:14'},'bos_org',947706740454046720,691928582720825344); 

--多语言
DELETE FROM t_im_invschemes_L WHERE FPKID = '1EXZ+TM253ZY';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1098532127634359296,'1EXZ+TM253ZY','zh_CN',' ','分步式调入退回'); 
DELETE FROM t_im_invschemes_L WHERE FPKID = '1EXZ+TM253ZZ';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1098532127634359296,'1EXZ+TM253ZZ','zh_TW',' ','分步式調入退回'); 

--分录 入库更新
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1098532127634359297;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FSEQ,FISDEFAULT,FINVTYPEID) VALUES (1098532127634359296,1098532127634359297,1,'1',688884005529250816); 
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1098532127634359298;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FSEQ,FISDEFAULT,FINVTYPEID) VALUES (1098532127634359296,1098532127634359298,2,'0',688884099724930048); 


-- 分录出库更新

--关联业务类型
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1098532127634371586;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FSEQ,FALLOWMANUALADD) VALUES (1098532127634359296,1098492265111761920,1098532127634371586,1,'0'); 

