--产品委外库存事务修改 预置
-- 140
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1487759054829784064;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (1307198053970609152,966651870204521472,1487759054829784064,'1',2,'0');
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1307198053995773954;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (1307198053970609152,1002795213917594624,1307198053995773954,'1',1,'0');


-- 1401
DELETE FROM t_im_invschemes WHERE FID = 1487762992358492160;
INSERT INTO t_im_invschemes(FISNOTUPDATE,FISINUPDATE,FOUTOWNERTYPE,FOUTKEEPERTYPE,FDESCRIPTION,FMASTERID,FBILLFORMID,FOWNERTYPE,FTRANSCEIVERTYPEID,FCREATETIME,FENABLE,FINVDC,FISOUTUPDATE,FDISABLERID,FID,FISFORWARDAMOUNT,FOUTINVSTATUSID,FDISABLEDATE,FGROUPID,FNAME,FNUMBER,FBIZDIRECTION,FMODIFIERID,FTRANSCEIVER,FISPRESET,FMODIFYTIME,FKEEPERTYPE,FCREATORID,FINVSTATUSID) VALUES ('0','1',' ',' ',' ',1487762992358492160,'im_purreceivebill','bd_supplier',687620055600683008,{ts'2022-08-15  00:00:00'},'1','A','0',0,1487762992358492160,'0',0,NULL,631628592878492672,'产品委外收货待检退货','1401','1',1155582543786049536,'0','1',{ts'2022-08-15  00:00:00'},'bos_org',1155582543786049536,0);

DELETE FROM t_im_invschemes_L WHERE FPKID = '2NQQ3G=FG1J2';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1487762992358492160,'2NQQ3G=FG1J2','zh_CN',' ','产品委外收货待检退货');
DELETE FROM t_im_invschemes_L WHERE FPKID = '2NQQ3G=FG1J3';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1487762992358492160,'2NQQ3G=FG1J3','zh_TW',' ','產品委外收貨待檢退貨');

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

DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1487762992383657984;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FISDEFAULT,FSEQ,FINVTYPEID,FINVTYPEISPRESET) VALUES (1487762992358492160,1487762992383657984,'1',1,688884217048001536,'1');

DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1487762992383659010;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (1487762992358492160,1006426561370713088,1487762992383659010,'1',1,'0');
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1487762992383659011;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (1487762992358492160,1487741602792213504,1487762992383659011,'1',2,'0');
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1487762992383659012;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (1487762992358492160,990500657985463296,1487762992383659012,'1',3,'0');
DELETE FROM t_im_biztypeentry WHERE FENTRYID = 1487762992383659013;
INSERT INTO t_im_biztypeentry(FID,FBIZTYPEID,FENTRYID,FBIZTYPEISPRESET,FSEQ,FALLOWMANUALADD) VALUES (1487762992358492160,1487749822973742080,1487762992383659013,'1',4,'0');


--125
DELETE FROM t_im_invschemes WHERE FID = 1487768076937070592;
INSERT INTO t_im_invschemes(FISNOTUPDATE,FISINUPDATE,FOUTOWNERTYPE,FOUTKEEPERTYPE,FDESCRIPTION,FMASTERID,FBILLFORMID,FOWNERTYPE,FTRANSCEIVERTYPEID,FCREATETIME,FENABLE,FINVDC,FISOUTUPDATE,FDISABLERID,FID,FISFORWARDAMOUNT,FOUTINVSTATUSID,FDISABLEDATE,FGROUPID,FNAME,FNUMBER,FBIZDIRECTION,FMODIFIERID,FTRANSCEIVER,FISPRESET,FMODIFYTIME,FKEEPERTYPE,FCREATORID,FINVSTATUSID) VALUES ('0','1','bd_supplier','bos_org',' ',1487768076937070592,'im_mdc_ominbill','bos_org',731218411396427776,{ts'2022-08-15  00:00:00'},'1','A','1',0,1487768076937070592,'0',0,NULL,989767452978082816,'普通委外收货检验合格入库','125','0',1155582543786049536,'2','1',{ts'2022-08-15  00:00:00'},'bos_org',1155582543786049536,0);

DELETE FROM t_im_invschemes_L WHERE FPKID = '2NQR1I==5VVZ';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1487768076937070592,'2NQR1I==5VVZ','zh_CN',' ','普通委外收货检验合格入库');
DELETE FROM t_im_invschemes_L WHERE FPKID = '2NQR1I==5VW+';
INSERT INTO t_im_invschemes_L(FID,FPKID,FLOCALEID,FDESCRIPTION,FNAME) VALUES (1487768076937070592,'2NQR1I==5VW+','zh_TW',' ','普通委外收貨檢驗合格入庫');

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

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

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

DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1487768076962236416;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FISDEFAULT,FSEQ,FINVTYPEID,FINVTYPEISPRESET) VALUES (1487768076937070592,1487768076962236416,'1',1,688884005529250816,'1');
DELETE FROM t_im_invtypeentry WHERE FENTRYID = 1487768076962236417;
INSERT INTO t_im_invtypeentry(FID,FENTRYID,FISDEFAULT,FSEQ,FINVTYPEID,FINVTYPEISPRESET) VALUES (1487768076937070592,1487768076962236417,'0',2,688884099724930048,'1');