--增加库存事务--231(委托代销售出) 2311(委托代销售出退回) 118(成本入库（委托代销）) 1181(成本入库退回（委托代销）) 218(成本出库（委托代销）) 2181(成本出库退回（委托代销）)
DELETE FROM t_im_invschemes WHERE FID = 1103399833190053888;
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-03  09:34:28'},NULL,'A','1',1,' ','1','bos_org','委托代销售出','0',1103399833190053888,1103399833190053888,1,{ts'2021-03-03  09:52:09'},' ',0,'1','231',691928582720825344,'bd_customer','im_saloutbill',687617504960534528,452663424212569088,'0'); 
DELETE FROM t_im_invschemes WHERE FID = 1103403089127602176;
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-03  09:42:10'},NULL,'A','1',1,' ','1','bos_org','委托代销售出退回','0',1103403089127602176,1103403089127602176,1,{ts'2021-03-03  09:59:26'},' ',0,'1','2311',691928582720825344,'bd_customer','im_saloutbill',687617754932664320,452663424212569088,'0'); 
DELETE FROM t_im_invschemes WHERE FID = 1128913762368325632;
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-04-07  14:25:32'},NULL,'A','1',1,'bd_customer','1',' ','成本入库（委托代销）','1',1128913762368325632,1128913762368325632,1,{ts'2021-04-07  14:30:07'},'bos_org',691928582720825344,'0','118',0,' ','im_purinbill',687616874967685120,376675954728127488,'1'); 
DELETE FROM t_im_invschemes WHERE FID = 1128915412021651456;
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-04-07  14:30:46'},NULL,'A','1',1,'bd_customer','1',' ','成本入库退回（委托代销）','1',1128915412021651456,1128915412021651456,1,{ts'2021-04-07  14:33:24'},'bos_org',691928582720825344,'0','1181',0,' ','im_purinbill',687617195957770240,376675954728127488,'1'); 
DELETE FROM t_im_invschemes WHERE FID = 1128917249235855360;
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-04-07  14:34:07'},NULL,'A','1',1,' ','1','bos_org','成本出库（委托代销）','0',1128917249235855360,1128917249235855360,1,{ts'2021-04-07  14:37:03'},' ',0,'1','218',691928582720825344,'bd_customer','im_saloutbill',687617504960534528,452663424212569088,'1'); 
DELETE FROM t_im_invschemes WHERE FID = 1128918524111325184;
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-04-07  14:37:30'},NULL,'A','1',1,' ','1','bos_org','成本出库退回（委托代销）','0',1128918524111325184,1128918524111325184,1,{ts'2021-04-07  14:39:35'},' ',0,'1','2181',691928582720825344,'bd_customer','im_saloutbill',687617754932664320,452663424212569088,'1'); 
--多语言
DELETE FROM t_im_invschemes_l WHERE FPKID = '1FI9HPR7GHRA';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1103399833190053888,'1FI9HPR7GHRA','zh_CN','委托代销售出','委托代销售出'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1FI9HPR7GHRB';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1103399833190053888,'1FI9HPR7GHRB','zh_TW','委托代銷售出','委托代銷售出'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1FI=3EIO4XJ+';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1103403089127602176,'1FI=3EIO4XJ+','zh_CN','委托代销售出退回','委托代销售出退回'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1FI=3EIO4XJ/';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1103403089127602176,'1FI=3EIO4XJ/','zh_TW','委托代銷售出退回','委托代銷售出退回'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1INHO9=JN3JI';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1128913762368325632,'1INHO9=JN3JI','zh_CN','成本入库（委托代销）','成本入库（委托代销）'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1INHO9=JN3JJ';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1128913762368325632,'1INHO9=JN3JJ','zh_TW','成本入庫（委托代銷）','成本入庫（委托代銷）'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1INI+=376NA4';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1128915412021651456,'1INI+=376NA4','zh_CN','成本入库退回（委托代销）','成本入库退回（委托代销）'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1INI+=376NA5';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1128915412021651456,'1INI+=376NA5','zh_TW','成本入庫退回（委托代銷）','成本入庫退回（委托代銷）'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1INIAO8+0Y6H';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1128917249235855360,'1INIAO8+0Y6H','zh_CN','成本出库（委托代销）','成本出库（委托代销）'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1INIAO8+0Y6I';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1128917249235855360,'1INIAO8+0Y6I','zh_TW','成本出庫（委托代銷）','成本出庫（委托代銷）'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1INIJZJ1A9WG';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1128918524111325184,'1INIJZJ1A9WG','zh_CN','成本出库退回（委托代销）','成本出库退回（委托代销）'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1INIJZJ1A9WH';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FNAME,FDESCRIPTION) VALUES (1128918524111325184,'1INIJZJ1A9WH','zh_TW','成本出庫退回（委托代銷）','成本出庫退回（委托代銷）'); 
--分录入库更新
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1128913762410268672;
INSERT INTO t_im_invtypeentry(FID,FISDEFAULT,FENTRYID,FINVTYPEID,FINVTYPEISPRESET,FSEQ) VALUES (1128913762368325632,'1',1128913762410268672,688884427652393984,'1',1); 
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1128913762410268673;
INSERT INTO t_im_invtypeentry(FID,FISDEFAULT,FENTRYID,FINVTYPEID,FINVTYPEISPRESET,FSEQ) VALUES (1128913762368325632,'0',1128913762410268673,688884099724930048,'1',2); 
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1128915412038428672;
INSERT INTO t_im_invtypeentry(FID,FISDEFAULT,FENTRYID,FINVTYPEID,FINVTYPEISPRESET,FSEQ) VALUES (1128915412021651456,'1',1128915412038428672,688884427652393984,'1',1); 
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1128915412038428673;
INSERT INTO t_im_invtypeentry(FID,FISDEFAULT,FENTRYID,FINVTYPEID,FINVTYPEISPRESET,FSEQ) VALUES (1128915412021651456,'0',1128915412038428673,688884099724930048,'1',2); 
--分录入库状态
DELETE FROM t_im_invstatusentry WHERE FENTRYID = 1128913762410268674;
INSERT INTO t_im_invstatusentry(FID,FISDEFAULT,FINVSTATUSISPRESET,FINVSTATUSID,FENTRYID,FSEQ) VALUES (1128913762368325632,'1','1',691928582720825344,1128913762410268674,1); 
DELETE FROM t_im_invstatusentry WHERE FENTRYID = 1128915412038428674;
INSERT INTO t_im_invstatusentry(FID,FISDEFAULT,FINVSTATUSISPRESET,FINVSTATUSID,FENTRYID,FSEQ) VALUES (1128915412021651456,'1','1',691928582720825344,1128915412038428674,1); 
--分录出库更新
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1103399835060713472;
INSERT INTO t_im_outinvtypeentry(FID,FISDEFAULT,FOUTINVTYPEID,FENTRYID,FOUTINVTYPEISPRESET,FSEQ) VALUES (1103399833190053888,'1',688884427652393984,1103399835060713472,'1',1); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1103403089127602177;
INSERT INTO t_im_outinvtypeentry(FID,FISDEFAULT,FOUTINVTYPEID,FENTRYID,FOUTINVTYPEISPRESET,FSEQ) VALUES (1103403089127602176,'1',688884427652393984,1103403089127602177,'1',1);
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1128917249252632576;
INSERT INTO t_im_outinvtypeentry(FID,FISDEFAULT,FOUTINVTYPEID,FENTRYID,FOUTINVTYPEISPRESET,FSEQ) VALUES (1128917249235855360,'1',688884427652393984,1128917249252632576,'1',1); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1128917249252632577;
INSERT INTO t_im_outinvtypeentry(FID,FISDEFAULT,FOUTINVTYPEID,FENTRYID,FOUTINVTYPEISPRESET,FSEQ) VALUES (1128917249235855360,'0',688884099724930048,1128917249252632577,'1',2); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1128918524128102400;
INSERT INTO t_im_outinvtypeentry(FID,FISDEFAULT,FOUTINVTYPEID,FENTRYID,FOUTINVTYPEISPRESET,FSEQ) VALUES (1128918524111325184,'1',688884427652393984,1128918524128102400,'1',1); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1128918524128102401;
INSERT INTO t_im_outinvtypeentry(FID,FISDEFAULT,FOUTINVTYPEID,FENTRYID,FOUTINVTYPEISPRESET,FSEQ) VALUES (1128918524111325184,'0',688884099724930048,1128918524128102401,'1',2); 
--分录出库状态
DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1113023408611857438;
INSERT INTO t_im_outinvstatusentry(FID,FISDEFAULT,FENTRYID,FOUTINVSTATUSISPRESET,FOUTINVSTATUSID,FSEQ) VALUES (1103399833190053888,'1',1113023408611857438,'1',691928582720825344,1); 
DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1113023408612080670;
INSERT INTO t_im_outinvstatusentry(FID,FISDEFAULT,FENTRYID,FOUTINVSTATUSISPRESET,FOUTINVSTATUSID,FSEQ) VALUES (1103403089127602176,'1',1113023408612080670,'1',691928582720825344,1);
DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1128917249252632578;
INSERT INTO t_im_outinvstatusentry(FID,FISDEFAULT,FENTRYID,FOUTINVSTATUSISPRESET,FOUTINVSTATUSID,FSEQ) VALUES (1128917249235855360,'1',1128917249252632578,'1',691928582720825344,1); 
DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1128918524128102402;
INSERT INTO t_im_outinvstatusentry(FID,FISDEFAULT,FENTRYID,FOUTINVSTATUSISPRESET,FOUTINVSTATUSID,FSEQ) VALUES (1128918524111325184,'1',1128918524128102402,'1',691928582720825344,1); 
--关联业务类型
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1128905476713719808;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEISPRESET,FALLOWMANUALADD,FENTRYID,FBIZTYPEID,FSEQ) VALUES (1103399833190053888,'1','0',1128905476713719808,688860294365375488,1); 
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1128906383723563008;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEISPRESET,FALLOWMANUALADD,FENTRYID,FBIZTYPEID,FSEQ) VALUES (1103403089127602176,'1','0',1128906383723563008,688861035985431552,1);
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1128913762410276866;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEISPRESET,FALLOWMANUALADD,FENTRYID,FBIZTYPEID,FSEQ) VALUES (1128913762368325632,'1','0',1128913762410276866,422857170485263360,1); 
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1128915412038420482;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEISPRESET,FALLOWMANUALADD,FENTRYID,FBIZTYPEID,FSEQ) VALUES (1128915412021651456,'1','0',1128915412038420482,688847172015446016,1); 
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1128917249252624386;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEISPRESET,FALLOWMANUALADD,FENTRYID,FBIZTYPEID,FSEQ) VALUES (1128917249235855360,'1','0',1128917249252624386,422876630176775168,1); 
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1128918524128110594;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEISPRESET,FALLOWMANUALADD,FENTRYID,FBIZTYPEID,FSEQ) VALUES (1128918524111325184,'1','0',1128918524128110594,688855385217756160,1); 