-- 3671	普通委外退料
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1234608103274579968;
INSERT INTO t_im_outinvtypeentry(FOUTINVTYPEISPRESET,FID,FOUTINVTYPEID,FENTRYID,FSEQ,FISDEFAULT) VALUES ('1',1234608103266191360,688884005529250816,1234608103274579968,1,'1'); 
DELETE FROM t_im_outinvtypeentry WHERE FENTRYID = 1234608103274579969;
INSERT INTO t_im_outinvtypeentry(FOUTINVTYPEISPRESET,FID,FOUTINVTYPEID,FENTRYID,FSEQ,FISDEFAULT) VALUES ('1',1234608103266191360,688884099724930048,1234608103274579969,2,'0'); 

DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1234608103274703874;
INSERT INTO t_im_biztypeentry(FBIZTYPEID,FID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (990500657985463296,1234608103266191360,1234608103274703874,'1',1,'1'); 


DELETE FROM t_im_outinvstatusentry WHERE FENTRYID = 1234608103274579970;
INSERT INTO t_im_outinvstatusentry(FID,FOUTINVSTATUSID,FENTRYID,FSEQ,FISDEFAULT,FOUTINVSTATUSISPRESET) VALUES (1234608103266191360,691928582720825344,1234608103274579970,1,'1','0'); 

DELETE FROM t_im_invschemes WHERE FID = 1234608103266191360;
INSERT INTO t_im_invschemes(FISNOTUPDATE,FOUTOWNERTYPE,FISINUPDATE,FOUTKEEPERTYPE,FMASTERID,FBILLFORMID,FOWNERTYPE,FTRANSCEIVERTYPEID,FCREATETIME,FENABLE,FINVDC,FISOUTUPDATE,FDISABLERID,FID,FISFORWARDAMOUNT,FOUTINVSTATUSID,FDISABLEDATE,FNUMBER,FGROUPID,FBIZDIRECTION,FMODIFIERID,FISPRESET,FTRANSCEIVER,FMODIFYTIME,FKEEPERTYPE,FCREATORID,FINVSTATUSID) VALUES ('0','bos_org','0','bos_org',1234608103266191360,'im_mdc_omreturnbill',' ',687618334946187264,{ts'2021-08-31  00:00:00'},'1','A','1',0,1234608103266191360,'1',0,NULL,'3671',988397277544630272,'1',17526091,'1','1',{ts'2021-08-31  00:00:00'},' ',17526091,0); 

DELETE FROM t_im_invschemes_l WHERE FPKID = '1VMW73NDVREN';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1234608103266191360,'1VMW73NDVREN','zh_CN',' ','普通委外退料'); 
DELETE FROM t_im_invschemes_l WHERE FPKID = '1VMW73NDVREO';
INSERT INTO t_im_invschemes_l(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1234608103266191360,'1VMW73NDVREO','zh_TW',' ','普通委外退料'); 

