--增加库存事务--120(直运采购入库) 220(直运销售出库)
DELETE FROM t_im_invschemes WHERE FID = 1122217495324084224;
INSERT INTO t_im_invschemes(FDISABLERID,FISFORWARDAMOUNT,FNAME,FCREATETIME,FDISABLEDATE,FINVDC,FISPRESET,FMODIFIERID,FKEEPERTYPE,FENABLE,FOUTOWNERTYPE,FDESCRIPTION,FISINUPDATE,FMASTERID,FID,FCREATORID,FMODIFYTIME,FOWNERTYPE,FINVSTATUSID,FISOUTUPDATE,FNUMBER,FOUTINVSTATUSID,FOUTKEEPERTYPE,FBILLFORMID,FTRANSCEIVERTYPEID,FGROUPID,FISNOTUPDATE) VALUES (0,'1','直运采购入库',{ts'2021-03-29  08:42:01'},NULL,'A','1',1,'bos_org','1',' ','直运采购入库','1',1122217495324084224,1122217495324084224,1,{ts'2021-03-29  08:45:50'},'bos_org',691928582720825344,'0','120',0,' ','im_purinbill',687616874967685120,376675954728127488,'1'); 
DELETE FROM t_im_invschemes WHERE FID = 1122218749530032128;
INSERT INTO t_im_invschemes(FDISABLERID,FISFORWARDAMOUNT,FNAME,FCREATETIME,FDISABLEDATE,FINVDC,FISPRESET,FMODIFIERID,FKEEPERTYPE,FENABLE,FOUTOWNERTYPE,FDESCRIPTION,FISINUPDATE,FMASTERID,FID,FCREATORID,FMODIFYTIME,FOWNERTYPE,FINVSTATUSID,FISOUTUPDATE,FNUMBER,FOUTINVSTATUSID,FOUTKEEPERTYPE,FBILLFORMID,FTRANSCEIVERTYPEID,FGROUPID,FISNOTUPDATE) VALUES (0,'1','直运销售出库',{ts'2021-03-29  08:45:58'},NULL,'A','1',1,' ','1','bos_org','直运销售出库','0',1122218749530032128,1122218749530032128,1,{ts'2021-03-29  08:48:19'},' ',0,'1','220',691928582720825344,'bos_org','im_saloutbill',687617504960534528,452663424212569088,'1'); 
--多语言
DELETE FROM t_im_invschemes_l WHERE FPKID = '1HUEHOMSDSQT';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1122217495324084224,'1HUEHOMSDSQT','zh_CN','直运采购入库','直运采购入库'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1HUEHOMSDSQU';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1122217495324084224,'1HUEHOMSDSQU','zh_TW','直運采購入庫','直運采購入庫'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1HUEQTZOKOXK';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1122218749530032128,'1HUEQTZOKOXK','zh_CN','直运销售出库','直运销售出库'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1HUEQTZOKOXL';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1122218749530032128,'1HUEQTZOKOXL','zh_TW','直運銷售出庫','直運銷售出庫');  
--分录入库更新
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1122217495701571584;
INSERT INTO t_im_invtypeentry(FID,FISDEFAULT,FENTRYID,FINVTYPEID,FINVTYPEISPRESET,FSEQ) VALUES (1122217495324084224,'1',1122217495701571584,688884005529250816,'1',1); 
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1122217495701571585;
INSERT INTO t_im_invtypeentry(FID,FISDEFAULT,FENTRYID,FINVTYPEID,FINVTYPEISPRESET,FSEQ) VALUES (1122217495324084224,'0',1122217495701571585,688884099724930048,'1',2);
--分录入库状态
DELETE FROM t_im_invstatusentry WHERE FENTRYID = 1122217495701571586;
INSERT INTO t_im_invstatusentry(FID,FISDEFAULT,FINVSTATUSISPRESET,FINVSTATUSID,FENTRYID,FSEQ) VALUES (1122217495324084224,'1','1',691928582720825344,1122217495701571586,1);
--分录出库更新
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1122218749538420736;
INSERT INTO t_im_outinvtypeentry(FID,FISDEFAULT,FOUTINVTYPEID,FENTRYID,FOUTINVTYPEISPRESET,FSEQ) VALUES (1122218749530032128,'1',688884005529250816,1122218749538420736,'1',1); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1122218749538420737;
INSERT INTO t_im_outinvtypeentry(FID,FISDEFAULT,FOUTINVTYPEID,FENTRYID,FOUTINVTYPEISPRESET,FSEQ) VALUES (1122218749530032128,'0',688884099724930048,1122218749538420737,'1',2);
--分录出库状态
DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1122218749538420738;
INSERT INTO t_im_outinvstatusentry(FID,FISDEFAULT,FOUTINVSTATUSISPRESET,FENTRYID,FOUTINVSTATUSID,FSEQ) VALUES (1122218749530032128,'1','1',1122218749538420738,691928582720825344,1);
--关联业务类型
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1122217495701450754;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEISPRESET,FALLOWMANUALADD,FENTRYID,FBIZTYPEID,FSEQ) VALUES (1122217495324084224,'1','0',1122217495701450754,422857170485263360,1); 
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1122218749538299906;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEISPRESET,FALLOWMANUALADD,FENTRYID,FBIZTYPEID,FSEQ) VALUES (1122218749530032128,'1','0',1122218749538299906,422876630176775168,1);