--增加库存事务601-2
DELETE FROM t_im_invschemes WHERE FID = 1327520589799228416;
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,FTRANSCEIVER,FMODIFYTIME,FKEEPERTYPE,FCREATORID,FINVSTATUSID) VALUES ('0','bd_supplier','1','bos_org',1327520589799228416,'im_mdc_omcmplinbill','bos_org',731218411396427776,{ts'2022-01-06  00:00:00'},'1','A','1',0,1327520589799228416,'1',0,NULL,'601-2',1240380711765115904,1241107427621864448,'1','2',{ts'2022-01-06  00:00:00'},'bos_org',1241107427621864448,0); 

DELETE FROM t_im_invschemes_l WHERE FPKID = '251/HU/8QYTM';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1327520589799228416,'251/HU/8QYTM','zh_CN','委外完工收货检验合格入库','委外完工收货检验合格入库'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '251/HU/8QYTN';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1327520589799228416,'251/HU/8QYTN','zh_TW','委外完工收貨檢驗合格入庫','委外完工收貨檢驗合格入庫'); 

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

DELETE FROM t_im_invstatusentry WHERE FENTRYID = 1327520589832781827;
INSERT INTO t_im_invstatusentry(FID,FENTRYID,FISDEFAULT,FINVSTATUSISPRESET,FINVSTATUSID) VALUES (1327520589799228416,1327520589832781827,'1','1',691928582720825344); 

DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1327520589832781826;
INSERT INTO t_im_outinvtypeentry(FID,FOUTINVTYPEISPRESET,FOUTINVTYPEID,FENTRYID,FISDEFAULT) VALUES (1327520589799228416,'1',688884217048001536,1327520589832781826,'1'); 

DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1327520589832782850;
INSERT INTO t_im_outinvstatusentry(FID,FOUTINVSTATUSID,FENTRYID,FISDEFAULT,FOUTINVSTATUSISPRESET) VALUES (1327520589799228416,691930349319792640,1327520589832782850,'1','0'); 

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

