--增加库存事务140
DELETE FROM t_im_invschemes WHERE FID = 1307198053970609152;
INSERT INTO t_im_invschemes(FISNOTUPDATE,FOUTOWNERTYPE,FISINUPDATE,FOUTKEEPERTYPE,FMASTERID,FBILLFORMID,FOWNERTYPE,FTRANSCEIVERTYPEID,FCREATETIME,FENABLE,FINVDC,FISOUTUPDATE,FDISABLERID,FID,FISFORWARDAMOUNT,FOUTINVSTATUSID,FDISABLEDATE,FNUMBER,FGROUPID,FMODIFIERID,FISPRESET,FMODIFYTIME,FKEEPERTYPE,FCREATORID,FINVSTATUSID) VALUES ('0',' ','1',' ',1307198053970609152,'im_purreceivebill','bd_supplier',687619869340030976,{ts'2021-12-09  00:00:00'},'1','A','0',0,1307198053970609152,'0',0,NULL,'140',631628592878492672,1241107427621864448,'1',{ts'2021-12-09  00:00:00'},'bos_org',1241107427621864448,0); 


DELETE FROM t_im_invschemes_l WHERE FPKID = '22JNAV3YQMU=';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1307198053970609152,'22JNAV3YQMU=','zh_CN',' ','产品委外收货待检'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '22JNAV3YQMUA';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1307198053970609152,'22JNAV3YQMUA','zh_TW',' ','產品委外收貨待檢');

--影响库存
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1307198053995774976;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FISDEFAULT,FINVTYPEID,FINVTYPEISPRESET) VALUES (1307198053970609152,1307198053995774976,'1',688884217048001536,'1'); 

DELETE FROM t_im_invstatusentry WHERE FENTRYID = 1307198053995774977;
INSERT INTO t_im_invstatusentry(FID,FENTRYID,FISDEFAULT,FINVSTATUSISPRESET,FINVSTATUSID) VALUES (1307198053970609152,1307198053995774977,'1','1',691930349319792640); 

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